[cfe-dev] CompilerInstance and C++

Lukas Vogel lukedirtwalkerdev at gmail.com
Thu Feb 28 14:18:48 PST 2013


Hi,

I try to parse c++ code, for now just very simple code like this:

class Testing {

public:

    Testing(){}

};




My Code is based on a CompilerInstance but I always get the following

error: unknown type name 'class'


I tried to somehow set the LangOptions but still didn't get it to work...


My code is here
https://github.com/lukedirtwalker/Envision/blob/cppimport/CppImport/src/cppimportmanager.cpp


Thanks for any help :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130228/3b0d1e2a/attachment.html>


More information about the cfe-dev mailing list