{"action":"created","issue":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/2376","repository_url":"https://api.github.com/repos/PointCloudLibrary/pcl","labels_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/2376/labels{/name}","comments_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/2376/comments","events_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/2376/events","html_url":"https://github.com/PointCloudLibrary/pcl/pull/2376","id":340624475,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwOTkwODQy","number":2376,"title":"Create a clang-format config for PCL style.","user":{"login":"JamesGiller","id":1397123,"node_id":"MDQ6VXNlcjEzOTcxMjM=","avatar_url":"https://avatars1.githubusercontent.com/u/1397123?v=4","gravatar_id":"","url":"https://api.github.com/users/JamesGiller","html_url":"https://github.com/JamesGiller","followers_url":"https://api.github.com/users/JamesGiller/followers","following_url":"https://api.github.com/users/JamesGiller/following{/other_user}","gists_url":"https://api.github.com/users/JamesGiller/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesGiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesGiller/subscriptions","organizations_url":"https://api.github.com/users/JamesGiller/orgs","repos_url":"https://api.github.com/users/JamesGiller/repos","events_url":"https://api.github.com/users/JamesGiller/events{/privacy}","received_events_url":"https://api.github.com/users/JamesGiller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-07-12T12:51:54Z","updated_at":"2018-08-27T04:43:04Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/2376","html_url":"https://github.com/PointCloudLibrary/pcl/pull/2376","diff_url":"https://github.com/PointCloudLibrary/pcl/pull/2376.diff","patch_url":"https://github.com/PointCloudLibrary/pcl/pull/2376.patch"},"body":"The clang-format config enforces spacing and line-break guidelines from\r\nthe PCL style guide, but not guidelines such as all cap constants or\r\nparenthesised return values etc.\r\n\r\nUnfortunately, clang-format has limitations that mean a couple of the\r\nstyle guidelines cannot be enforced, specifically:\r\n1) Members affected by access qualifiers cannot be indented by one more level\r\n2) Return type of functions will go on own separate line, not even the\r\n   same line as template parameters as in one example from\r\n   section 2.3 of the style guide\r\n\r\nresolves #2106"},"comment":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/comments/416112639","html_url":"https://github.com/PointCloudLibrary/pcl/pull/2376#issuecomment-416112639","issue_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/2376","id":416112639,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjExMjYzOQ==","user":{"login":"JamesGiller","id":1397123,"node_id":"MDQ6VXNlcjEzOTcxMjM=","avatar_url":"https://avatars1.githubusercontent.com/u/1397123?v=4","gravatar_id":"","url":"https://api.github.com/users/JamesGiller","html_url":"https://github.com/JamesGiller","followers_url":"https://api.github.com/users/JamesGiller/followers","following_url":"https://api.github.com/users/JamesGiller/following{/other_user}","gists_url":"https://api.github.com/users/JamesGiller/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesGiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesGiller/subscriptions","organizations_url":"https://api.github.com/users/JamesGiller/orgs","repos_url":"https://api.github.com/users/JamesGiller/repos","events_url":"https://api.github.com/users/JamesGiller/events{/privacy}","received_events_url":"https://api.github.com/users/JamesGiller/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T04:43:04Z","updated_at":"2018-08-27T04:43:04Z","author_association":"NONE","body":"There's a list of checks available in clang-tidy [here](https://releases.llvm.org/5.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/list.html). It's also possible to add new custom checks. How should the checks be chosen?"}}
{"actor":{"display_login":"JamesGiller"}}