{"action":"created","issue":{"url":"https://api.github.com/repos/SonarOpenCommunity/sonar-cxx/issues/993","repository_url":"https://api.github.com/repos/SonarOpenCommunity/sonar-cxx","labels_url":"https://api.github.com/repos/SonarOpenCommunity/sonar-cxx/issues/993/labels{/name}","comments_url":"https://api.github.com/repos/SonarOpenCommunity/sonar-cxx/issues/993/comments","events_url":"https://api.github.com/repos/SonarOpenCommunity/sonar-cxx/issues/993/events","html_url":"https://github.com/SonarOpenCommunity/sonar-cxx/pull/993","id":187944761,"number":993,"title":"Compilation unit spec file support","user":{"login":"vesajaaskelainen","id":20065915,"avatar_url":"https://avatars.githubusercontent.com/u/20065915?v=3","gravatar_id":"","url":"https://api.github.com/users/vesajaaskelainen","html_url":"https://github.com/vesajaaskelainen","followers_url":"https://api.github.com/users/vesajaaskelainen/followers","following_url":"https://api.github.com/users/vesajaaskelainen/following{/other_user}","gists_url":"https://api.github.com/users/vesajaaskelainen/gists{/gist_id}","starred_url":"https://api.github.com/users/vesajaaskelainen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vesajaaskelainen/subscriptions","organizations_url":"https://api.github.com/users/vesajaaskelainen/orgs","repos_url":"https://api.github.com/users/vesajaaskelainen/repos","events_url":"https://api.github.com/users/vesajaaskelainen/events{/privacy}","received_events_url":"https://api.github.com/users/vesajaaskelainen/received_events","type":"User","site_admin":false},"labels":[{"id":15973035,"url":"https://api.github.com/repos/SonarOpenCommunity/sonar-cxx/labels/question","name":"question","color":"cc317c","default":true},{"id":145684169,"url":"https://api.github.com/repos/SonarOpenCommunity/sonar-cxx/labels/waiting%20for%20answer","name":"waiting for answer","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-11-08T09:44:28Z","updated_at":"2016-11-14T13:30:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SonarOpenCommunity/sonar-cxx/pulls/993","html_url":"https://github.com/SonarOpenCommunity/sonar-cxx/pull/993","diff_url":"https://github.com/SonarOpenCommunity/sonar-cxx/pull/993.diff","patch_url":"https://github.com/SonarOpenCommunity/sonar-cxx/pull/993.patch"},"body":"This pull request adds support for use compilation unit specification file (xml) to specify defines and includes for compilation units (source files) and for global files which are not compilation units (include files).\r\n\r\nExample usage is to use in example Klocwork to statically analyse source code. Use its captured include and defines and from those generate this compilation unit specification file.\r\n\r\nWith this compiler includes and defines are automatically set correctly for analysis thus giving better analysis results.\r\n"},"comment":{"url":"https://api.github.com/repos/SonarOpenCommunity/sonar-cxx/issues/comments/260334647","html_url":"https://github.com/SonarOpenCommunity/sonar-cxx/pull/993#issuecomment-260334647","issue_url":"https://api.github.com/repos/SonarOpenCommunity/sonar-cxx/issues/993","id":260334647,"user":{"login":"jmecosta","id":1041352,"avatar_url":"https://avatars.githubusercontent.com/u/1041352?v=3","gravatar_id":"","url":"https://api.github.com/users/jmecosta","html_url":"https://github.com/jmecosta","followers_url":"https://api.github.com/users/jmecosta/followers","following_url":"https://api.github.com/users/jmecosta/following{/other_user}","gists_url":"https://api.github.com/users/jmecosta/gists{/gist_id}","starred_url":"https://api.github.com/users/jmecosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmecosta/subscriptions","organizations_url":"https://api.github.com/users/jmecosta/orgs","repos_url":"https://api.github.com/users/jmecosta/repos","events_url":"https://api.github.com/users/jmecosta/events{/privacy}","received_events_url":"https://api.github.com/users/jmecosta/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T13:30:47Z","updated_at":"2016-11-14T13:30:47Z","body":"```\r\n[\r\n  { \"directory\": \"/home/user/llvm/build\",\r\n    \"command\": \"/usr/bin/clang++ -Irelative -DSOMEDEF=\\\"With spaces, quotes and \\\\-es.\\\" -c -o file.o file.cc\",\r\n    \"file\": \"file.cc\" },\r\n  ...\r\n]\r\n```\r\n\r\nin this case,\r\ninclude are: -Irelative\r\nDefine: -DSOMEDEF\r\ndid i miss something?\r\n\r\nRegarding the complexity, i think we are looking from different perspectives. Right? you handle all that from the external tool, what the cxx plugin consumes is a clearly defined set of includes, defines (or global defines if not availalbe in your format) \r\n\r\n"}}
{"actor":{"display_login":"jmecosta"}}