[cfe-users] The native "cross compiler" part - how to use it

2016-12-22 Thread Norbert Lange via cfe-users
Hello, I am trying to get my head around how Clang is supposedly used as Crosscompiler. I am using it for years with a custom gcc toolchain, but its cumbersome as it involves adding all inlude and library paths from gcc and adding them as options. So I tested the arguments that should allow crossc

[cfe-users] Unknown type name extraction from AST.

2016-12-22 Thread Hemant Bhagat via cfe-users
Hi, How do I get the unknown type name while visiting AST nodes. Example: class Sample { std::string strMember; } I the above code if the #include is missing then the AST will have an "invalid" for field declaration. I want to extract the token std::string as unknown type nam