reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1780 AST.reset(new ASTUnit(false)); 1781 AST->NumStoredDiagnosticsFromDriver = StoredDiagnostics.size(); 1782 AST->StoredDiagnostics.swap(StoredDiagnostics); 1783 ConfigureDiags(Diags, *AST, CaptureDiagnostics); 1784 AST->Diagnostics = Diags; 1785 AST->FileSystemOpts = CI->getFileSystemOpts(); 1789 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); 1789 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); 1790 AST->ModuleCache = new InMemoryModuleCache; 1791 AST->OnlyLocalDecls = OnlyLocalDecls; 1792 AST->CaptureDiagnostics = CaptureDiagnostics; 1793 AST->TUKind = TUKind; 1794 AST->ShouldCacheCodeCompletionResults = CacheCodeCompletionResults; 1795 AST->IncludeBriefCommentsInCodeCompletion 1797 AST->UserFilesAreVolatile = UserFilesAreVolatile; 1798 AST->Invocation = CI; 1799 AST->SkipFunctionBodies = SkipFunctionBodies; 1801 AST->WriterData.reset(new ASTWriterData(*AST->ModuleCache)); 1801 AST->WriterData.reset(new ASTWriterData(*AST->ModuleCache)); 1808 ASTUnitCleanup(AST.get()); 1810 if (AST->LoadFromCompilerInvocation(std::move(PCHContainerOps), 1816 AST->StoredDiagnostics.swap(AST->FailedParseDiagnostics); 1816 AST->StoredDiagnostics.swap(AST->FailedParseDiagnostics); 1817 ErrAST->swap(AST); 1822 return AST.release();