[cfe-dev] Clang libtool not parsing c++ file when i do # include <iostream>
Manuel Klimek
klimek at google.com
Mon Jun 30 02:24:32 PDT 2014
On Sun, Jun 29, 2014 at 9:24 AM, sourav21 <sourav.mukherjee619 at gmail.com>
wrote:
> I've written a clang libtool . When i add # include to the input file , it
> seg-faults. My code is like this:-
>
> int main(int argc, const char **argv) {
> static cl::OptionCategory MyToolCategory("my-tool options");
> CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);
> ClangTool Tool(OptionsParser.getCompilations(),
> OptionsParser.getSourcePathList());
> return Tool.run(newFrontendActionFactory<MyFrontendAction>().get());
> }
>
A stack trace would be most helpful... What does "MyFrontendAction" doe?
>
>
>
> --
> View this message in context:
> http://clang-developers.42468.n3.nabble.com/Clang-libtool-not-parsing-c-file-when-i-do-include-iostream-tp4040245.html
> Sent from the Clang Developers mailing list archive at Nabble.com.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140630/926e9c61/attachment.html>
More information about the cfe-dev
mailing list