[cfe-users] Code optimization issue Xcode 7

2016-07-15 Thread Robert Topala via cfe-users
Hi, I was in contact with Apple Developer Technical Support, and it was suggested that I send a question to this list. I will post the complete conversation below, but to summarize. I have a header file with this declaration: protected: bool gravityFlipped_; public: virtual bool getGravityFlipp

Re: [cfe-users] link order for libtooling

2016-07-15 Thread Mikhail Ramalho via cfe-users
Hi Folkert, getName() should work for namedDecl only; to get type names, you need to work differently. I suggest you have a look at: http://clang.llvm.org/doxygen/TypePrinter_8cpp_source.html http://clang.llvm.org/doxygen/ASTDumper_8cpp_source.html http://clang.llvm.org/doxygen/StmtDumper_8cpp_s

Re: [cfe-users] link order for libtooling

2016-07-15 Thread folkert via cfe-users
Mikhail, Thanks. Problem with getName() is that it does not exist for too many types. For example when I have a QualType that I would like to get as a string, then the doxygen says there's a getAstString static function but in reality it is not there. There's also no getName() for QualType. Then t