{"action":"opened","issue":{"url":"https://api.github.com/repos/walkerWx/Numa/issues/1","labels_url":"https://api.github.com/repos/walkerWx/Numa/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/walkerWx/Numa/issues/1/comments","events_url":"https://api.github.com/repos/walkerWx/Numa/issues/1/events","html_url":"https://github.com/walkerWx/Numa/issues/1","id":64193665,"number":1,"title":"How to pass command line options to libtooling?","user":{"login":"walkerWx","id":5417356,"avatar_url":"https://avatars.githubusercontent.com/u/5417356?v=3","gravatar_id":"","url":"https://api.github.com/users/walkerWx","html_url":"https://github.com/walkerWx","followers_url":"https://api.github.com/users/walkerWx/followers","following_url":"https://api.github.com/users/walkerWx/following{/other_user}","gists_url":"https://api.github.com/users/walkerWx/gists{/gist_id}","starred_url":"https://api.github.com/users/walkerWx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walkerWx/subscriptions","organizations_url":"https://api.github.com/users/walkerWx/orgs","repos_url":"https://api.github.com/users/walkerWx/repos","events_url":"https://api.github.com/users/walkerWx/events{/privacy}","received_events_url":"https://api.github.com/users/walkerWx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-25T06:50:48Z","updated_at":"2015-03-25T06:50:48Z","closed_at":null,"body":"I have encountered the problem that while using clang to parse a c++ file,clang can not know where the header files are.As usual we can give clang the ' -I ' options to tell clang where to find the header files in the command line.\r\n\r\nWhile you have written your own clang tools,after you build the executable binary file,for example a.out, you can add the '-extra-arg' option to pass command line options to you tool as follow:\r\n        ./a.out -extra-arg=-I/Your/header/file/location [your original arguments here]\r\n"}}