{"action":"created","comment":{"url":"https://api.github.com/repos/zig-lang/zig/pulls/comments/187146600","pull_request_review_id":118866384,"id":187146600,"diff_hunk":"@@ -4306,7 +4306,7 @@ static LLVMValueRef get_coro_alloc_helper_fn_val(CodeGen *g, LLVMTypeRef alloc_f\n     LLVMValueRef alloc_fn_val = LLVMGetParam(fn_val, next_arg);\n     next_arg += 1;\n \n-    LLVMValueRef stack_trace_val;\n+    LLVMValueRef stack_trace_val = nullptr;","path":"src/codegen.cpp","position":5,"original_position":5,"commit_id":"f0e77c19d4a359f0e7cd7649688ec86ca8feacd6","original_commit_id":"f0e77c19d4a359f0e7cd7649688ec86ca8feacd6","user":{"login":"isaachier","id":2578297,"avatar_url":"https://avatars3.githubusercontent.com/u/2578297?v=4","gravatar_id":"","url":"https://api.github.com/users/isaachier","html_url":"https://github.com/isaachier","followers_url":"https://api.github.com/users/isaachier/followers","following_url":"https://api.github.com/users/isaachier/following{/other_user}","gists_url":"https://api.github.com/users/isaachier/gists{/gist_id}","starred_url":"https://api.github.com/users/isaachier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaachier/subscriptions","organizations_url":"https://api.github.com/users/isaachier/orgs","repos_url":"https://api.github.com/users/isaachier/repos","events_url":"https://api.github.com/users/isaachier/events{/privacy}","received_events_url":"https://api.github.com/users/isaachier/received_events","type":"User","site_admin":false},"body":"Fix issue with using uninitialized value.","created_at":"2018-05-09T19:14:41Z","updated_at":"2018-05-09T19:15:35Z","html_url":"https://github.com/zig-lang/zig/pull/993#discussion_r187146600","pull_request_url":"https://api.github.com/repos/zig-lang/zig/pulls/993","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/zig-lang/zig/pulls/comments/187146600"},"html":{"href":"https://github.com/zig-lang/zig/pull/993#discussion_r187146600"},"pull_request":{"href":"https://api.github.com/repos/zig-lang/zig/pulls/993"}}},"pull_request":{"url":"https://api.github.com/repos/zig-lang/zig/pulls/993","id":186325004,"html_url":"https://github.com/zig-lang/zig/pull/993","diff_url":"https://github.com/zig-lang/zig/pull/993.diff","patch_url":"https://github.com/zig-lang/zig/pull/993.patch","issue_url":"https://api.github.com/repos/zig-lang/zig/issues/993","number":993,"state":"open","locked":false,"title":"Add clang-tidy run on zig sources, minor CMake improvements","user":{"login":"isaachier","id":2578297,"avatar_url":"https://avatars3.githubusercontent.com/u/2578297?v=4","gravatar_id":"","url":"https://api.github.com/users/isaachier","html_url":"https://github.com/isaachier","followers_url":"https://api.github.com/users/isaachier/followers","following_url":"https://api.github.com/users/isaachier/following{/other_user}","gists_url":"https://api.github.com/users/isaachier/gists{/gist_id}","starred_url":"https://api.github.com/users/isaachier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaachier/subscriptions","organizations_url":"https://api.github.com/users/isaachier/orgs","repos_url":"https://api.github.com/users/isaachier/repos","events_url":"https://api.github.com/users/isaachier/events{/privacy}","received_events_url":"https://api.github.com/users/isaachier/received_events","type":"User","site_admin":false},"body":"* Upgrade to >= CMake 3.1 (needed for Threads library and other modern CMake features).\r\n* Use `CMAKE_CURRENT_(SOURCE|BINARY)_DIR` instead of `CMAKE_(SOURCE|BINARY)_DIR`.\r\n* Run clang-tidy on Zig C++ sources. (Technically a CMake 3.6 feature but not upgrading minimum CMake just for this.) Can be enabled/disabled with `ENABLE_CLANG_TIDY` option. Added `.clang-tidy` file as config for this analysis.","created_at":"2018-05-07T11:29:05Z","updated_at":"2018-05-09T19:15:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51d675afc3e7e9661b3cad16c19df6f92c4c8d88","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zig-lang/zig/pulls/993/commits","review_comments_url":"https://api.github.com/repos/zig-lang/zig/pulls/993/comments","review_comment_url":"https://api.github.com/repos/zig-lang/zig/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zig-lang/zig/issues/993/comments","statuses_url":"https://api.github.com/repos/zig-lang/zig/statuses/f0e77c19d4a359f0e7cd7649688ec86ca8feacd6","head":{"label":"isaachier:cmake-clang-tidy","ref":"cmake-clang-tidy","sha":"f0e77c19d4a359f0e7cd7649688ec86ca8feacd6","user":{"login":"isaachier","id":2578297,"avatar_url":"https://avatars3.githubusercontent.com/u/2578297?v=4","gravatar_id":"","url":"https://api.github.com/users/isaachier","html_url":"https://github.com/isaachier","followers_url":"https://api.github.com/users/isaachier/followers","following_url":"https://api.github.com/users/isaachier/following{/other_user}","gists_url":"https://api.github.com/users/isaachier/gists{/gist_id}","starred_url":"https://api.github.com/users/isaachier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaachier/subscriptions","organizations_url":"https://api.github.com/users/isaachier/orgs","repos_url":"https://api.github.com/users/isaachier/repos","events_url":"https://api.github.com/users/isaachier/events{/privacy}","received_events_url":"https://api.github.com/users/isaachier/received_events","type":"User","site_admin":false},"repo":{"id":132450199,"name":"zig","full_name":"isaachier/zig","owner":{"login":"isaachier","id":2578297,"avatar_url":"https://avatars3.githubusercontent.com/u/2578297?v=4","gravatar_id":"","url":"https://api.github.com/users/isaachier","html_url":"https://github.com/isaachier","followers_url":"https://api.github.com/users/isaachier/followers","following_url":"https://api.github.com/users/isaachier/following{/other_user}","gists_url":"https://api.github.com/users/isaachier/gists{/gist_id}","starred_url":"https://api.github.com/users/isaachier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaachier/subscriptions","organizations_url":"https://api.github.com/users/isaachier/orgs","repos_url":"https://api.github.com/users/isaachier/repos","events_url":"https://api.github.com/users/isaachier/events{/privacy}","received_events_url":"https://api.github.com/users/isaachier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/isaachier/zig","description":"robust, optimal, and clear programming language","fork":true,"url":"https://api.github.com/repos/isaachier/zig","forks_url":"https://api.github.com/repos/isaachier/zig/forks","keys_url":"https://api.github.com/repos/isaachier/zig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/isaachier/zig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/isaachier/zig/teams","hooks_url":"https://api.github.com/repos/isaachier/zig/hooks","issue_events_url":"https://api.github.com/repos/isaachier/zig/issues/events{/number}","events_url":"https://api.github.com/repos/isaachier/zig/events","assignees_url":"https://api.github.com/repos/isaachier/zig/assignees{/user}","branches_url":"https://api.github.com/repos/isaachier/zig/branches{/branch}","tags_url":"https://api.github.com/repos/isaachier/zig/tags","blobs_url":"https://api.github.com/repos/isaachier/zig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/isaachier/zig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/isaachier/zig/git/refs{/sha}","trees_url":"https://api.github.com/repos/isaachier/zig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/isaachier/zig/statuses/{sha}","languages_url":"https://api.github.com/repos/isaachier/zig/languages","stargazers_url":"https://api.github.com/repos/isaachier/zig/stargazers","contributors_url":"https://api.github.com/repos/isaachier/zig/contributors","subscribers_url":"https://api.github.com/repos/isaachier/zig/subscribers","subscription_url":"https://api.github.com/repos/isaachier/zig/subscription","commits_url":"https://api.github.com/repos/isaachier/zig/commits{/sha}","git_commits_url":"https://api.github.com/repos/isaachier/zig/git/commits{/sha}","comments_url":"https://api.github.com/repos/isaachier/zig/comments{/number}","issue_comment_url":"https://api.github.com/repos/isaachier/zig/issues/comments{/number}","contents_url":"https://api.github.com/repos/isaachier/zig/contents/{+path}","compare_url":"https://api.github.com/repos/isaachier/zig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/isaachier/zig/merges","archive_url":"https://api.github.com/repos/isaachier/zig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/isaachier/zig/downloads","issues_url":"https://api.github.com/repos/isaachier/zig/issues{/number}","pulls_url":"https://api.github.com/repos/isaachier/zig/pulls{/number}","milestones_url":"https://api.github.com/repos/isaachier/zig/milestones{/number}","notifications_url":"https://api.github.com/repos/isaachier/zig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/isaachier/zig/labels{/name}","releases_url":"https://api.github.com/repos/isaachier/zig/releases{/id}","deployments_url":"https://api.github.com/repos/isaachier/zig/deployments","created_at":"2018-05-07T11:21:37Z","updated_at":"2018-05-09T01:53:04Z","pushed_at":"2018-05-09T19:07:09Z","git_url":"git://github.com/isaachier/zig.git","ssh_url":"git@github.com:isaachier/zig.git","clone_url":"https://github.com/isaachier/zig.git","svn_url":"https://github.com/isaachier/zig","homepage":"https://ziglang.org","size":17047,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zig-lang:master","ref":"master","sha":"7fdbaeca728312d22d877a711b46e157d3b01fe7","user":{"login":"zig-lang","id":27973237,"avatar_url":"https://avatars3.githubusercontent.com/u/27973237?v=4","gravatar_id":"","url":"https://api.github.com/users/zig-lang","html_url":"https://github.com/zig-lang","followers_url":"https://api.github.com/users/zig-lang/followers","following_url":"https://api.github.com/users/zig-lang/following{/other_user}","gists_url":"https://api.github.com/users/zig-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/zig-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zig-lang/subscriptions","organizations_url":"https://api.github.com/users/zig-lang/orgs","repos_url":"https://api.github.com/users/zig-lang/repos","events_url":"https://api.github.com/users/zig-lang/events{/privacy}","received_events_url":"https://api.github.com/users/zig-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":40276274,"name":"zig","full_name":"zig-lang/zig","owner":{"login":"zig-lang","id":27973237,"avatar_url":"https://avatars3.githubusercontent.com/u/27973237?v=4","gravatar_id":"","url":"https://api.github.com/users/zig-lang","html_url":"https://github.com/zig-lang","followers_url":"https://api.github.com/users/zig-lang/followers","following_url":"https://api.github.com/users/zig-lang/following{/other_user}","gists_url":"https://api.github.com/users/zig-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/zig-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zig-lang/subscriptions","organizations_url":"https://api.github.com/users/zig-lang/orgs","repos_url":"https://api.github.com/users/zig-lang/repos","events_url":"https://api.github.com/users/zig-lang/events{/privacy}","received_events_url":"https://api.github.com/users/zig-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zig-lang/zig","description":"robust, optimal, and clear programming language","fork":false,"url":"https://api.github.com/repos/zig-lang/zig","forks_url":"https://api.github.com/repos/zig-lang/zig/forks","keys_url":"https://api.github.com/repos/zig-lang/zig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zig-lang/zig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zig-lang/zig/teams","hooks_url":"https://api.github.com/repos/zig-lang/zig/hooks","issue_events_url":"https://api.github.com/repos/zig-lang/zig/issues/events{/number}","events_url":"https://api.github.com/repos/zig-lang/zig/events","assignees_url":"https://api.github.com/repos/zig-lang/zig/assignees{/user}","branches_url":"https://api.github.com/repos/zig-lang/zig/branches{/branch}","tags_url":"https://api.github.com/repos/zig-lang/zig/tags","blobs_url":"https://api.github.com/repos/zig-lang/zig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zig-lang/zig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zig-lang/zig/git/refs{/sha}","trees_url":"https://api.github.com/repos/zig-lang/zig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zig-lang/zig/statuses/{sha}","languages_url":"https://api.github.com/repos/zig-lang/zig/languages","stargazers_url":"https://api.github.com/repos/zig-lang/zig/stargazers","contributors_url":"https://api.github.com/repos/zig-lang/zig/contributors","subscribers_url":"https://api.github.com/repos/zig-lang/zig/subscribers","subscription_url":"https://api.github.com/repos/zig-lang/zig/subscription","commits_url":"https://api.github.com/repos/zig-lang/zig/commits{/sha}","git_commits_url":"https://api.github.com/repos/zig-lang/zig/git/commits{/sha}","comments_url":"https://api.github.com/repos/zig-lang/zig/comments{/number}","issue_comment_url":"https://api.github.com/repos/zig-lang/zig/issues/comments{/number}","contents_url":"https://api.github.com/repos/zig-lang/zig/contents/{+path}","compare_url":"https://api.github.com/repos/zig-lang/zig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zig-lang/zig/merges","archive_url":"https://api.github.com/repos/zig-lang/zig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zig-lang/zig/downloads","issues_url":"https://api.github.com/repos/zig-lang/zig/issues{/number}","pulls_url":"https://api.github.com/repos/zig-lang/zig/pulls{/number}","milestones_url":"https://api.github.com/repos/zig-lang/zig/milestones{/number}","notifications_url":"https://api.github.com/repos/zig-lang/zig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zig-lang/zig/labels{/name}","releases_url":"https://api.github.com/repos/zig-lang/zig/releases{/id}","deployments_url":"https://api.github.com/repos/zig-lang/zig/deployments","created_at":"2015-08-06T00:51:28Z","updated_at":"2018-05-09T13:27:17Z","pushed_at":"2018-05-09T19:07:10Z","git_url":"git://github.com/zig-lang/zig.git","ssh_url":"git@github.com:zig-lang/zig.git","clone_url":"https://github.com/zig-lang/zig.git","svn_url":"https://github.com/zig-lang/zig","homepage":"https://ziglang.org","size":17069,"stargazers_count":1302,"watchers_count":1302,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":85,"mirror_url":null,"archived":false,"open_issues_count":308,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":85,"open_issues":308,"watchers":1302,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zig-lang/zig/pulls/993"},"html":{"href":"https://github.com/zig-lang/zig/pull/993"},"issue":{"href":"https://api.github.com/repos/zig-lang/zig/issues/993"},"comments":{"href":"https://api.github.com/repos/zig-lang/zig/issues/993/comments"},"review_comments":{"href":"https://api.github.com/repos/zig-lang/zig/pulls/993/comments"},"review_comment":{"href":"https://api.github.com/repos/zig-lang/zig/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zig-lang/zig/pulls/993/commits"},"statuses":{"href":"https://api.github.com/repos/zig-lang/zig/statuses/f0e77c19d4a359f0e7cd7649688ec86ca8feacd6"}},"author_association":"NONE"}}
{"actor":{"display_login":"isaachier"}}