{"action":"closed","number":136,"pull_request":{"url":"https://api.github.com/repos/google/styleguide/pulls/136","id":70871586,"html_url":"https://github.com/google/styleguide/pull/136","diff_url":"https://github.com/google/styleguide/pull/136.diff","patch_url":"https://github.com/google/styleguide/pull/136.patch","issue_url":"https://api.github.com/repos/google/styleguide/issues/136","number":136,"state":"closed","locked":false,"title":"Bug-fix: NOLINT, NOLINTNEXTLINE has no affect if used for the closing-brace line \"};\" in the lambda declaration.","user":{"login":"piotr-semenov","id":4867631,"avatar_url":"https://avatars.githubusercontent.com/u/4867631?v=3","gravatar_id":"","url":"https://api.github.com/users/piotr-semenov","html_url":"https://github.com/piotr-semenov","followers_url":"https://api.github.com/users/piotr-semenov/followers","following_url":"https://api.github.com/users/piotr-semenov/following{/other_user}","gists_url":"https://api.github.com/users/piotr-semenov/gists{/gist_id}","starred_url":"https://api.github.com/users/piotr-semenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotr-semenov/subscriptions","organizations_url":"https://api.github.com/users/piotr-semenov/orgs","repos_url":"https://api.github.com/users/piotr-semenov/repos","events_url":"https://api.github.com/users/piotr-semenov/events{/privacy}","received_events_url":"https://api.github.com/users/piotr-semenov/received_events","type":"User","site_admin":false},"body":"Unfortunately, CppLint always prints out the error at the line \"};\" in the lambda declaration.\r\nPlease find the minimal not-working example below:\r\n\r\n    1: #include <cstdlib>\r\n    2: #include <vector>\r\n    3: #include <numeric>\r\n    4:\r\n    5: int main(int argc, char** argv) {\r\n    6:    auto mean = [](std::vector<double> const& _samples) {\r\n    7:        return\r\n    8:            std::accumulate(_samples.cbegin(), _samples.cend(), 0.0) /\r\n    9:            _samples.size();\r\n    10:    // NOLINTNEXTLINE\r\n    11:    };  // NOLINT\r\n    12:\r\n    13:   return EXIT_SUCCESS;\r\n    14: }\r\n\r\nCppLint unexpectedly prints out the error _You don't need a ; after a }  [readability/braces] [4]_ for line 11 from CPP above.\r\n\r\nThis commit fixes this bug.","created_at":"2016-05-20T15:17:48Z","updated_at":"2016-05-20T15:30:50Z","closed_at":"2016-05-20T15:30:50Z","merged_at":null,"merge_commit_sha":"f7ca5af5357104a38cc914bea4abd66f7813f83f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/styleguide/pulls/136/commits","review_comments_url":"https://api.github.com/repos/google/styleguide/pulls/136/comments","review_comment_url":"https://api.github.com/repos/google/styleguide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/styleguide/issues/136/comments","statuses_url":"https://api.github.com/repos/google/styleguide/statuses/9827feb45a05921d9709ed17cfde9f12f6fe12e4","head":{"label":"piotr-semenov:semenovp_fixes","ref":"semenovp_fixes","sha":"9827feb45a05921d9709ed17cfde9f12f6fe12e4","user":{"login":"piotr-semenov","id":4867631,"avatar_url":"https://avatars.githubusercontent.com/u/4867631?v=3","gravatar_id":"","url":"https://api.github.com/users/piotr-semenov","html_url":"https://github.com/piotr-semenov","followers_url":"https://api.github.com/users/piotr-semenov/followers","following_url":"https://api.github.com/users/piotr-semenov/following{/other_user}","gists_url":"https://api.github.com/users/piotr-semenov/gists{/gist_id}","starred_url":"https://api.github.com/users/piotr-semenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotr-semenov/subscriptions","organizations_url":"https://api.github.com/users/piotr-semenov/orgs","repos_url":"https://api.github.com/users/piotr-semenov/repos","events_url":"https://api.github.com/users/piotr-semenov/events{/privacy}","received_events_url":"https://api.github.com/users/piotr-semenov/received_events","type":"User","site_admin":false},"repo":{"id":59301057,"name":"styleguide","full_name":"piotr-semenov/styleguide","owner":{"login":"piotr-semenov","id":4867631,"avatar_url":"https://avatars.githubusercontent.com/u/4867631?v=3","gravatar_id":"","url":"https://api.github.com/users/piotr-semenov","html_url":"https://github.com/piotr-semenov","followers_url":"https://api.github.com/users/piotr-semenov/followers","following_url":"https://api.github.com/users/piotr-semenov/following{/other_user}","gists_url":"https://api.github.com/users/piotr-semenov/gists{/gist_id}","starred_url":"https://api.github.com/users/piotr-semenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotr-semenov/subscriptions","organizations_url":"https://api.github.com/users/piotr-semenov/orgs","repos_url":"https://api.github.com/users/piotr-semenov/repos","events_url":"https://api.github.com/users/piotr-semenov/events{/privacy}","received_events_url":"https://api.github.com/users/piotr-semenov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/piotr-semenov/styleguide","description":"Style guides for Google-originated open-source projects","fork":true,"url":"https://api.github.com/repos/piotr-semenov/styleguide","forks_url":"https://api.github.com/repos/piotr-semenov/styleguide/forks","keys_url":"https://api.github.com/repos/piotr-semenov/styleguide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/piotr-semenov/styleguide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/piotr-semenov/styleguide/teams","hooks_url":"https://api.github.com/repos/piotr-semenov/styleguide/hooks","issue_events_url":"https://api.github.com/repos/piotr-semenov/styleguide/issues/events{/number}","events_url":"https://api.github.com/repos/piotr-semenov/styleguide/events","assignees_url":"https://api.github.com/repos/piotr-semenov/styleguide/assignees{/user}","branches_url":"https://api.github.com/repos/piotr-semenov/styleguide/branches{/branch}","tags_url":"https://api.github.com/repos/piotr-semenov/styleguide/tags","blobs_url":"https://api.github.com/repos/piotr-semenov/styleguide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/piotr-semenov/styleguide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/piotr-semenov/styleguide/git/refs{/sha}","trees_url":"https://api.github.com/repos/piotr-semenov/styleguide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/piotr-semenov/styleguide/statuses/{sha}","languages_url":"https://api.github.com/repos/piotr-semenov/styleguide/languages","stargazers_url":"https://api.github.com/repos/piotr-semenov/styleguide/stargazers","contributors_url":"https://api.github.com/repos/piotr-semenov/styleguide/contributors","subscribers_url":"https://api.github.com/repos/piotr-semenov/styleguide/subscribers","subscription_url":"https://api.github.com/repos/piotr-semenov/styleguide/subscription","commits_url":"https://api.github.com/repos/piotr-semenov/styleguide/commits{/sha}","git_commits_url":"https://api.github.com/repos/piotr-semenov/styleguide/git/commits{/sha}","comments_url":"https://api.github.com/repos/piotr-semenov/styleguide/comments{/number}","issue_comment_url":"https://api.github.com/repos/piotr-semenov/styleguide/issues/comments{/number}","contents_url":"https://api.github.com/repos/piotr-semenov/styleguide/contents/{+path}","compare_url":"https://api.github.com/repos/piotr-semenov/styleguide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/piotr-semenov/styleguide/merges","archive_url":"https://api.github.com/repos/piotr-semenov/styleguide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/piotr-semenov/styleguide/downloads","issues_url":"https://api.github.com/repos/piotr-semenov/styleguide/issues{/number}","pulls_url":"https://api.github.com/repos/piotr-semenov/styleguide/pulls{/number}","milestones_url":"https://api.github.com/repos/piotr-semenov/styleguide/milestones{/number}","notifications_url":"https://api.github.com/repos/piotr-semenov/styleguide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/piotr-semenov/styleguide/labels{/name}","releases_url":"https://api.github.com/repos/piotr-semenov/styleguide/releases{/id}","deployments_url":"https://api.github.com/repos/piotr-semenov/styleguide/deployments","created_at":"2016-05-20T14:29:26Z","updated_at":"2016-05-20T14:29:28Z","pushed_at":"2016-05-20T15:01:18Z","git_url":"git://github.com/piotr-semenov/styleguide.git","ssh_url":"git@github.com:piotr-semenov/styleguide.git","clone_url":"https://github.com/piotr-semenov/styleguide.git","svn_url":"https://github.com/piotr-semenov/styleguide","homepage":"","size":1584,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"google:gh-pages","ref":"gh-pages","sha":"70d6b7d4b85f98ba58ae217a5a6f3bec6ecad188","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":35969061,"name":"styleguide","full_name":"google/styleguide","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/styleguide","description":"Style guides for Google-originated open-source projects","fork":false,"url":"https://api.github.com/repos/google/styleguide","forks_url":"https://api.github.com/repos/google/styleguide/forks","keys_url":"https://api.github.com/repos/google/styleguide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/styleguide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/styleguide/teams","hooks_url":"https://api.github.com/repos/google/styleguide/hooks","issue_events_url":"https://api.github.com/repos/google/styleguide/issues/events{/number}","events_url":"https://api.github.com/repos/google/styleguide/events","assignees_url":"https://api.github.com/repos/google/styleguide/assignees{/user}","branches_url":"https://api.github.com/repos/google/styleguide/branches{/branch}","tags_url":"https://api.github.com/repos/google/styleguide/tags","blobs_url":"https://api.github.com/repos/google/styleguide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/styleguide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/styleguide/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/styleguide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/styleguide/statuses/{sha}","languages_url":"https://api.github.com/repos/google/styleguide/languages","stargazers_url":"https://api.github.com/repos/google/styleguide/stargazers","contributors_url":"https://api.github.com/repos/google/styleguide/contributors","subscribers_url":"https://api.github.com/repos/google/styleguide/subscribers","subscription_url":"https://api.github.com/repos/google/styleguide/subscription","commits_url":"https://api.github.com/repos/google/styleguide/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/styleguide/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/styleguide/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/styleguide/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/styleguide/contents/{+path}","compare_url":"https://api.github.com/repos/google/styleguide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/styleguide/merges","archive_url":"https://api.github.com/repos/google/styleguide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/styleguide/downloads","issues_url":"https://api.github.com/repos/google/styleguide/issues{/number}","pulls_url":"https://api.github.com/repos/google/styleguide/pulls{/number}","milestones_url":"https://api.github.com/repos/google/styleguide/milestones{/number}","notifications_url":"https://api.github.com/repos/google/styleguide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/styleguide/labels{/name}","releases_url":"https://api.github.com/repos/google/styleguide/releases{/id}","deployments_url":"https://api.github.com/repos/google/styleguide/deployments","created_at":"2015-05-20T19:18:59Z","updated_at":"2016-05-20T15:28:20Z","pushed_at":"2016-05-20T15:17:56Z","git_url":"git://github.com/google/styleguide.git","ssh_url":"git@github.com:google/styleguide.git","clone_url":"https://github.com/google/styleguide.git","svn_url":"https://github.com/google/styleguide","homepage":"","size":3068,"stargazers_count":4108,"watchers_count":4108,"language":"HTML","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1102,"mirror_url":null,"open_issues_count":97,"forks":1102,"open_issues":97,"watchers":4108,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/google/styleguide/pulls/136"},"html":{"href":"https://github.com/google/styleguide/pull/136"},"issue":{"href":"https://api.github.com/repos/google/styleguide/issues/136"},"comments":{"href":"https://api.github.com/repos/google/styleguide/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/google/styleguide/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/google/styleguide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/styleguide/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/google/styleguide/statuses/9827feb45a05921d9709ed17cfde9f12f6fe12e4"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":9,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"piotr-semenov"}}