{"action":"created","issue":{"url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/372","repository_url":"https://api.github.com/repos/niosus/EasyClangComplete","labels_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/372/comments","events_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/372/events","html_url":"https://github.com/niosus/EasyClangComplete/pull/372","id":283167253,"number":372,"title":"Use compiler built ins","user":{"login":"mhoeher","id":1911135,"avatar_url":"https://avatars2.githubusercontent.com/u/1911135?v=4","gravatar_id":"","url":"https://api.github.com/users/mhoeher","html_url":"https://github.com/mhoeher","followers_url":"https://api.github.com/users/mhoeher/followers","following_url":"https://api.github.com/users/mhoeher/following{/other_user}","gists_url":"https://api.github.com/users/mhoeher/gists{/gist_id}","starred_url":"https://api.github.com/users/mhoeher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhoeher/subscriptions","organizations_url":"https://api.github.com/users/mhoeher/orgs","repos_url":"https://api.github.com/users/mhoeher/repos","events_url":"https://api.github.com/users/mhoeher/events{/privacy}","received_events_url":"https://api.github.com/users/mhoeher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2017-12-19T09:59:39Z","updated_at":"2017-12-23T11:24:38Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/niosus/EasyClangComplete/pulls/372","html_url":"https://github.com/niosus/EasyClangComplete/pull/372","diff_url":"https://github.com/niosus/EasyClangComplete/pull/372.diff","patch_url":"https://github.com/niosus/EasyClangComplete/pull/372.patch"},"body":"This PR tries to utilize compiler built-in flags for auto-completion. The idea is to query the compiler for built-in `#define`s and header search paths and append these flags in addition to other flags e.g. extracted from a `compile_commands.json` file for code completion. That way, if the user has a *special* compiler e.g for an embedded platform, `clang` is able to see platform specific defines.\r\n\r\nThis issue closes #370. In addition, it is related to #196 as - at least when using some of the completion methods - it allows the described \"guessing\" mechanism.\r\n\r\n---\r\n\r\n# Requirements #\r\n- [x] Reference an issue in this PR. Create new one if needed.\r\n- [x] Make sure your branch is based on `dev`.\r\n"},"comment":{"url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/comments/353721099","html_url":"https://github.com/niosus/EasyClangComplete/pull/372#issuecomment-353721099","issue_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/372","id":353721099,"user":{"login":"niosus","id":1893598,"avatar_url":"https://avatars1.githubusercontent.com/u/1893598?v=4","gravatar_id":"","url":"https://api.github.com/users/niosus","html_url":"https://github.com/niosus","followers_url":"https://api.github.com/users/niosus/followers","following_url":"https://api.github.com/users/niosus/following{/other_user}","gists_url":"https://api.github.com/users/niosus/gists{/gist_id}","starred_url":"https://api.github.com/users/niosus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niosus/subscriptions","organizations_url":"https://api.github.com/users/niosus/orgs","repos_url":"https://api.github.com/users/niosus/repos","events_url":"https://api.github.com/users/niosus/events{/privacy}","received_events_url":"https://api.github.com/users/niosus/received_events","type":"User","site_admin":false},"created_at":"2017-12-23T11:24:37Z","updated_at":"2017-12-23T11:24:37Z","author_association":"OWNER","body":"Cool! Thanks so much! Sorry for the delay. I will have a look somewhere in this holiday season, but cannot promise how quickly this will happen :) Merry Christmas :)"}}
{"actor":{"display_login":"niosus"}}