[cfe-dev] How to use ASTImporter

Uri Mann via cfe-dev cfe-dev at lists.llvm.org
Thu Aug 25 08:10:34 PDT 2016


Hi David,

Unfortunately, ASTImporter  is incomplete. The class can't handle (import) some nodes in your AST. In order to move past these nodes you have to implement a diagnostic client which ignores these errors. The ASTImporter::Import() method will return NULL but at least you'll avoid the crash.

Best,
-Uri



More information about the cfe-dev mailing list