Introduce the notion of a "minimal" import of ASTs, to better support LLDB.
llvm-svn: 123723
This commit is contained in:
@@ -52,7 +52,8 @@ void ASTMergeAction::ExecuteAction() {
|
||||
ASTImporter Importer(CI.getASTContext(),
|
||||
CI.getFileManager(),
|
||||
Unit->getASTContext(),
|
||||
Unit->getFileManager());
|
||||
Unit->getFileManager(),
|
||||
/*MinimalImport=*/false);
|
||||
|
||||
TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
|
||||
for (DeclContext::decl_iterator D = TU->decls_begin(),
|
||||
|
||||
Reference in New Issue
Block a user