{"action":"created","comment":{"url":"https://api.github.com/repos/apple/swift-clang/pulls/comments/58262694","id":58262694,"diff_hunk":"@@ -562,6 +562,9 @@ class APINotesReader::Implementation {\n   /// The name of the module that we read from the control block.\n   std::string ModuleName;\n \n+  /// Various options and attributes for the module\n+  ModuleOptions moduleOptions;","path":"lib/APINotes/APINotesReader.cpp","position":5,"original_position":5,"commit_id":"d05e46e25515b6634d7901bedbc00d5e00c14eb0","original_commit_id":"d05e46e25515b6634d7901bedbc00d5e00c14eb0","user":{"login":"DougGregor","id":989428,"avatar_url":"https://avatars.githubusercontent.com/u/989428?v=3","gravatar_id":"","url":"https://api.github.com/users/DougGregor","html_url":"https://github.com/DougGregor","followers_url":"https://api.github.com/users/DougGregor/followers","following_url":"https://api.github.com/users/DougGregor/following{/other_user}","gists_url":"https://api.github.com/users/DougGregor/gists{/gist_id}","starred_url":"https://api.github.com/users/DougGregor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DougGregor/subscriptions","organizations_url":"https://api.github.com/users/DougGregor/orgs","repos_url":"https://api.github.com/users/DougGregor/repos","events_url":"https://api.github.com/users/DougGregor/events{/privacy}","received_events_url":"https://api.github.com/users/DougGregor/received_events","type":"User","site_admin":false},"body":"Clang still uses ProudCamelCase field names, IIRC.","created_at":"2016-04-01T20:26:24Z","updated_at":"2016-04-01T20:26:24Z","html_url":"https://github.com/apple/swift-clang/pull/11#discussion_r58262694","pull_request_url":"https://api.github.com/repos/apple/swift-clang/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/apple/swift-clang/pulls/comments/58262694"},"html":{"href":"https://github.com/apple/swift-clang/pull/11#discussion_r58262694"},"pull_request":{"href":"https://api.github.com/repos/apple/swift-clang/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/apple/swift-clang/pulls/11","id":64989470,"html_url":"https://github.com/apple/swift-clang/pull/11","diff_url":"https://github.com/apple/swift-clang/pull/11.diff","patch_url":"https://github.com/apple/swift-clang/pull/11.patch","issue_url":"https://api.github.com/repos/apple/swift-clang/issues/11","number":11,"state":"open","locked":false,"title":"[Import as member] Module attribute swift_infer_import_as_member","user":{"login":"milseman","id":235334,"avatar_url":"https://avatars.githubusercontent.com/u/235334?v=3","gravatar_id":"","url":"https://api.github.com/users/milseman","html_url":"https://github.com/milseman","followers_url":"https://api.github.com/users/milseman/followers","following_url":"https://api.github.com/users/milseman/following{/other_user}","gists_url":"https://api.github.com/users/milseman/gists{/gist_id}","starred_url":"https://api.github.com/users/milseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milseman/subscriptions","organizations_url":"https://api.github.com/users/milseman/orgs","repos_url":"https://api.github.com/users/milseman/repos","events_url":"https://api.github.com/users/milseman/events{/privacy}","received_events_url":"https://api.github.com/users/milseman/received_events","type":"User","site_admin":false},"body":"This allows modules to opt into import-as-member's inference system. Includes the attribute itself and APINotes support.","created_at":"2016-04-01T18:57:13Z","updated_at":"2016-04-01T20:26:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"701a81a6005f779dd6497fd0d19352ad520de5d6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift-clang/pulls/11/commits","review_comments_url":"https://api.github.com/repos/apple/swift-clang/pulls/11/comments","review_comment_url":"https://api.github.com/repos/apple/swift-clang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apple/swift-clang/issues/11/comments","statuses_url":"https://api.github.com/repos/apple/swift-clang/statuses/d05e46e25515b6634d7901bedbc00d5e00c14eb0","head":{"label":"milseman:apinotes","ref":"apinotes","sha":"d05e46e25515b6634d7901bedbc00d5e00c14eb0","user":{"login":"milseman","id":235334,"avatar_url":"https://avatars.githubusercontent.com/u/235334?v=3","gravatar_id":"","url":"https://api.github.com/users/milseman","html_url":"https://github.com/milseman","followers_url":"https://api.github.com/users/milseman/followers","following_url":"https://api.github.com/users/milseman/following{/other_user}","gists_url":"https://api.github.com/users/milseman/gists{/gist_id}","starred_url":"https://api.github.com/users/milseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milseman/subscriptions","organizations_url":"https://api.github.com/users/milseman/orgs","repos_url":"https://api.github.com/users/milseman/repos","events_url":"https://api.github.com/users/milseman/events{/privacy}","received_events_url":"https://api.github.com/users/milseman/received_events","type":"User","site_admin":false},"repo":{"id":50699264,"name":"swift-clang","full_name":"milseman/swift-clang","owner":{"login":"milseman","id":235334,"avatar_url":"https://avatars.githubusercontent.com/u/235334?v=3","gravatar_id":"","url":"https://api.github.com/users/milseman","html_url":"https://github.com/milseman","followers_url":"https://api.github.com/users/milseman/followers","following_url":"https://api.github.com/users/milseman/following{/other_user}","gists_url":"https://api.github.com/users/milseman/gists{/gist_id}","starred_url":"https://api.github.com/users/milseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milseman/subscriptions","organizations_url":"https://api.github.com/users/milseman/orgs","repos_url":"https://api.github.com/users/milseman/repos","events_url":"https://api.github.com/users/milseman/events{/privacy}","received_events_url":"https://api.github.com/users/milseman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/milseman/swift-clang","description":"","fork":true,"url":"https://api.github.com/repos/milseman/swift-clang","forks_url":"https://api.github.com/repos/milseman/swift-clang/forks","keys_url":"https://api.github.com/repos/milseman/swift-clang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/milseman/swift-clang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/milseman/swift-clang/teams","hooks_url":"https://api.github.com/repos/milseman/swift-clang/hooks","issue_events_url":"https://api.github.com/repos/milseman/swift-clang/issues/events{/number}","events_url":"https://api.github.com/repos/milseman/swift-clang/events","assignees_url":"https://api.github.com/repos/milseman/swift-clang/assignees{/user}","branches_url":"https://api.github.com/repos/milseman/swift-clang/branches{/branch}","tags_url":"https://api.github.com/repos/milseman/swift-clang/tags","blobs_url":"https://api.github.com/repos/milseman/swift-clang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/milseman/swift-clang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/milseman/swift-clang/git/refs{/sha}","trees_url":"https://api.github.com/repos/milseman/swift-clang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/milseman/swift-clang/statuses/{sha}","languages_url":"https://api.github.com/repos/milseman/swift-clang/languages","stargazers_url":"https://api.github.com/repos/milseman/swift-clang/stargazers","contributors_url":"https://api.github.com/repos/milseman/swift-clang/contributors","subscribers_url":"https://api.github.com/repos/milseman/swift-clang/subscribers","subscription_url":"https://api.github.com/repos/milseman/swift-clang/subscription","commits_url":"https://api.github.com/repos/milseman/swift-clang/commits{/sha}","git_commits_url":"https://api.github.com/repos/milseman/swift-clang/git/commits{/sha}","comments_url":"https://api.github.com/repos/milseman/swift-clang/comments{/number}","issue_comment_url":"https://api.github.com/repos/milseman/swift-clang/issues/comments{/number}","contents_url":"https://api.github.com/repos/milseman/swift-clang/contents/{+path}","compare_url":"https://api.github.com/repos/milseman/swift-clang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/milseman/swift-clang/merges","archive_url":"https://api.github.com/repos/milseman/swift-clang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/milseman/swift-clang/downloads","issues_url":"https://api.github.com/repos/milseman/swift-clang/issues{/number}","pulls_url":"https://api.github.com/repos/milseman/swift-clang/pulls{/number}","milestones_url":"https://api.github.com/repos/milseman/swift-clang/milestones{/number}","notifications_url":"https://api.github.com/repos/milseman/swift-clang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/milseman/swift-clang/labels{/name}","releases_url":"https://api.github.com/repos/milseman/swift-clang/releases{/id}","deployments_url":"https://api.github.com/repos/milseman/swift-clang/deployments","created_at":"2016-01-29T23:53:05Z","updated_at":"2016-04-01T18:56:08Z","pushed_at":"2016-04-01T18:23:52Z","git_url":"git://github.com/milseman/swift-clang.git","ssh_url":"git@github.com:milseman/swift-clang.git","clone_url":"https://github.com/milseman/swift-clang.git","svn_url":"https://github.com/milseman/swift-clang","homepage":null,"size":96351,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"stable"}},"base":{"label":"apple:stable","ref":"stable","sha":"c80a4d6d1779e71832fdc7b86a57dc54a3953300","user":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"repo":{"id":45423447,"name":"swift-clang","full_name":"apple/swift-clang","owner":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apple/swift-clang","description":"","fork":false,"url":"https://api.github.com/repos/apple/swift-clang","forks_url":"https://api.github.com/repos/apple/swift-clang/forks","keys_url":"https://api.github.com/repos/apple/swift-clang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apple/swift-clang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apple/swift-clang/teams","hooks_url":"https://api.github.com/repos/apple/swift-clang/hooks","issue_events_url":"https://api.github.com/repos/apple/swift-clang/issues/events{/number}","events_url":"https://api.github.com/repos/apple/swift-clang/events","assignees_url":"https://api.github.com/repos/apple/swift-clang/assignees{/user}","branches_url":"https://api.github.com/repos/apple/swift-clang/branches{/branch}","tags_url":"https://api.github.com/repos/apple/swift-clang/tags","blobs_url":"https://api.github.com/repos/apple/swift-clang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apple/swift-clang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apple/swift-clang/git/refs{/sha}","trees_url":"https://api.github.com/repos/apple/swift-clang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apple/swift-clang/statuses/{sha}","languages_url":"https://api.github.com/repos/apple/swift-clang/languages","stargazers_url":"https://api.github.com/repos/apple/swift-clang/stargazers","contributors_url":"https://api.github.com/repos/apple/swift-clang/contributors","subscribers_url":"https://api.github.com/repos/apple/swift-clang/subscribers","subscription_url":"https://api.github.com/repos/apple/swift-clang/subscription","commits_url":"https://api.github.com/repos/apple/swift-clang/commits{/sha}","git_commits_url":"https://api.github.com/repos/apple/swift-clang/git/commits{/sha}","comments_url":"https://api.github.com/repos/apple/swift-clang/comments{/number}","issue_comment_url":"https://api.github.com/repos/apple/swift-clang/issues/comments{/number}","contents_url":"https://api.github.com/repos/apple/swift-clang/contents/{+path}","compare_url":"https://api.github.com/repos/apple/swift-clang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apple/swift-clang/merges","archive_url":"https://api.github.com/repos/apple/swift-clang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apple/swift-clang/downloads","issues_url":"https://api.github.com/repos/apple/swift-clang/issues{/number}","pulls_url":"https://api.github.com/repos/apple/swift-clang/pulls{/number}","milestones_url":"https://api.github.com/repos/apple/swift-clang/milestones{/number}","notifications_url":"https://api.github.com/repos/apple/swift-clang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apple/swift-clang/labels{/name}","releases_url":"https://api.github.com/repos/apple/swift-clang/releases{/id}","deployments_url":"https://api.github.com/repos/apple/swift-clang/deployments","created_at":"2015-11-02T21:31:45Z","updated_at":"2016-03-29T03:44:41Z","pushed_at":"2016-04-01T18:57:13Z","git_url":"git://github.com/apple/swift-clang.git","ssh_url":"git@github.com:apple/swift-clang.git","clone_url":"https://github.com/apple/swift-clang.git","svn_url":"https://github.com/apple/swift-clang","homepage":null,"size":103872,"stargazers_count":357,"watchers_count":357,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":65,"mirror_url":null,"open_issues_count":2,"forks":65,"open_issues":2,"watchers":357,"default_branch":"stable"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift-clang/pulls/11"},"html":{"href":"https://github.com/apple/swift-clang/pull/11"},"issue":{"href":"https://api.github.com/repos/apple/swift-clang/issues/11"},"comments":{"href":"https://api.github.com/repos/apple/swift-clang/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift-clang/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/apple/swift-clang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apple/swift-clang/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift-clang/statuses/d05e46e25515b6634d7901bedbc00d5e00c14eb0"}}}}