Lines Matching refs:ASTUnit
216 struct ASTUnit::ASTWriterData {
225 void ASTUnit::clearFileLevelDecls() { in clearFileLevelDecls()
240 ASTUnit::ASTUnit(bool _MainFileIsAST) in ASTUnit() function in ASTUnit
249 ASTUnit::~ASTUnit() { in ~ASTUnit()
273 void ASTUnit::setPreprocessor(std::shared_ptr<Preprocessor> PP) { in setPreprocessor()
277 void ASTUnit::enableSourceFileDiagnostics() { in enableSourceFileDiagnostics()
362 void ASTUnit::CacheCodeCompletionResults() { in CacheCodeCompletionResults()
506 void ASTUnit::ClearCachedCompletionResults() { in ClearCachedCompletionResults()
614 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags;
621 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags) in StoredDiagnosticConsumer()
650 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags) in CaptureDroppedDiagnostics()
667 static ASTUnit::StandaloneDiagnostic
698 IntrusiveRefCntPtr<ASTReader> ASTUnit::getASTReader() const { in getASTReader()
702 ASTMutationListener *ASTUnit::getASTMutationListener() { in getASTMutationListener()
708 ASTDeserializationListener *ASTUnit::getDeserializationListener() { in getDeserializationListener()
715 ASTUnit::getBufferForFile(StringRef Filename, std::string *ErrorStr) { in getBufferForFile()
726 void ASTUnit::ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags, in ConfigureDiags()
727 ASTUnit &AST, bool CaptureDiagnostics) { in ConfigureDiags()
733 std::unique_ptr<ASTUnit> ASTUnit::LoadFromASTFile( in LoadFromASTFile()
740 std::unique_ptr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile()
743 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromASTFile()
916 ASTUnit &Unit;
920 TopLevelDeclTrackerConsumer(ASTUnit &_Unit, unsigned &Hash) in TopLevelDeclTrackerConsumer()
975 ASTUnit &Unit;
987 TopLevelDeclTrackerAction(ASTUnit &_Unit) : Unit(_Unit) {} in TopLevelDeclTrackerAction()
1037 llvm::SmallVector<ASTUnit::StandaloneDiagnostic, 4> PreambleDiags;
1076 bool ASTUnit::Parse(std::shared_ptr<PCHContainerOperations> PCHContainerOps, in Parse()
1223 static ASTUnit::StandaloneFixIt makeStandaloneFixIt(const SourceManager &SM, in makeStandaloneFixIt()
1226 ASTUnit::StandaloneFixIt OutFix; in makeStandaloneFixIt()
1235 static ASTUnit::StandaloneDiagnostic
1238 ASTUnit::StandaloneDiagnostic OutDiag; in makeStandaloneDiagnostic()
1280 ASTUnit::getMainBufferWithPrecompiledPreamble( in getMainBufferWithPrecompiledPreamble()
1404 void ASTUnit::RealizeTopLevelDeclsFromPreamble() { in RealizeTopLevelDeclsFromPreamble()
1420 void ASTUnit::transferASTDataFromCompilerInstance(CompilerInstance &CI) { in transferASTDataFromCompilerInstance()
1439 StringRef ASTUnit::getMainFileName() const { in getMainFileName()
1457 StringRef ASTUnit::getASTFileName() const { in getASTFileName()
1466 std::unique_ptr<ASTUnit>
1467 ASTUnit::create(std::shared_ptr<CompilerInvocation> CI, in create()
1470 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in create()
1486 ASTUnit *ASTUnit::LoadFromCompilerInvocationAction( in LoadFromCompilerInvocationAction()
1490 ASTUnit *Unit, bool Persistent, StringRef ResourceFilesPath, in LoadFromCompilerInvocationAction()
1494 std::unique_ptr<ASTUnit> *ErrAST) { in LoadFromCompilerInvocationAction()
1497 std::unique_ptr<ASTUnit> OwnAST; in LoadFromCompilerInvocationAction()
1498 ASTUnit *AST = Unit; in LoadFromCompilerInvocationAction()
1521 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCompilerInvocationAction()
1631 bool ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1665 std::unique_ptr<ASTUnit> ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1674 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in LoadFromCompilerInvocation()
1689 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCompilerInvocation()
1702 ASTUnit *ASTUnit::LoadFromCommandLine( in LoadFromCommandLine()
1712 llvm::Optional<StringRef> ModuleFormat, std::unique_ptr<ASTUnit> *ErrAST, in LoadFromCommandLine()
1750 std::unique_ptr<ASTUnit> AST; in LoadFromCommandLine()
1751 AST.reset(new ASTUnit(false)); in LoadFromCommandLine()
1778 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCommandLine()
1796 bool ASTUnit::Reparse(std::shared_ptr<PCHContainerOperations> PCHContainerOps, in Reparse()
1854 void ASTUnit::ResetForParse() { in ResetForParse()
1878 ASTUnit &AST;
1882 AugmentedCodeCompleteConsumer(ASTUnit &AST, CodeCompleteConsumer &Next, in AugmentedCodeCompleteConsumer()
2031 for (ASTUnit::cached_completion_iterator in ProcessCodeCompleteResults()
2108 void ASTUnit::CodeComplete( in CodeComplete()
2265 bool ASTUnit::Save(StringRef File) { in Save()
2311 bool ASTUnit::serialize(raw_ostream &OS) { in serialize()
2328 void ASTUnit::TranslateStoredDiagnostics( in TranslateStoredDiagnostics()
2387 void ASTUnit::addFileLevelDecl(Decl *D) { in addFileLevelDecl()
2428 void ASTUnit::findFileRegionDecls(FileID File, unsigned Offset, unsigned Length, in findFileRegionDecls()
2471 SourceLocation ASTUnit::getLocation(const FileEntry *File, in getLocation()
2478 SourceLocation ASTUnit::getLocation(const FileEntry *File, in getLocation()
2488 SourceLocation ASTUnit::mapLocationFromPreamble(SourceLocation Loc) const { in mapLocationFromPreamble()
2509 SourceLocation ASTUnit::mapLocationToPreamble(SourceLocation Loc) const { in mapLocationToPreamble()
2527 bool ASTUnit::isInPreambleFileID(SourceLocation Loc) const { in isInPreambleFileID()
2538 bool ASTUnit::isInMainFileID(SourceLocation Loc) const { in isInMainFileID()
2549 SourceLocation ASTUnit::getEndOfPreambleFileID() const { in getEndOfPreambleFileID()
2560 SourceLocation ASTUnit::getStartOfMainFileID() const { in getStartOfMainFileID()
2572 ASTUnit::getLocalPreprocessingEntities() const { in getLocalPreprocessingEntities()
2586 bool ASTUnit::visitLocalTopLevelDecls(void *context, DeclVisitorFn Fn) { in visitLocalTopLevelDecls()
2598 for (ASTUnit::top_level_iterator TL = top_level_begin(), in visitLocalTopLevelDecls()
2608 const FileEntry *ASTUnit::getPCHFile() { in getPCHFile()
2636 bool ASTUnit::isModuleFile() const { in isModuleFile()
2640 InputKind ASTUnit::getInputKind() const { in getInputKind()
2666 ASTUnit::ConcurrencyState::ConcurrencyState() { in ConcurrencyState()
2670 ASTUnit::ConcurrencyState::~ConcurrencyState() { in ~ConcurrencyState()
2674 void ASTUnit::ConcurrencyState::start() { in start()
2679 void ASTUnit::ConcurrencyState::finish() { in finish()
2685 ASTUnit::ConcurrencyState::ConcurrencyState() { Mutex = nullptr; } in ConcurrencyState()
2686 ASTUnit::ConcurrencyState::~ConcurrencyState() {} in ~ConcurrencyState()
2687 void ASTUnit::ConcurrencyState::start() {} in start()
2688 void ASTUnit::ConcurrencyState::finish() {} in finish()