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