Lines Matching refs:ASTUnit
218 struct ASTUnit::ASTWriterData {
227 void ASTUnit::clearFileLevelDecls() { in clearFileLevelDecls()
242 ASTUnit::ASTUnit(bool _MainFileIsAST) in ASTUnit() function in ASTUnit
251 ASTUnit::~ASTUnit() { in ~ASTUnit()
275 void ASTUnit::setPreprocessor(std::shared_ptr<Preprocessor> PP) { in setPreprocessor()
279 void ASTUnit::enableSourceFileDiagnostics() { in enableSourceFileDiagnostics()
364 void ASTUnit::CacheCodeCompletionResults() { in CacheCodeCompletionResults()
507 void ASTUnit::ClearCachedCompletionResults() { in ClearCachedCompletionResults()
615 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags;
623 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags, in FilterAndStoreDiagnosticConsumer()
654 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags) in CaptureDroppedDiagnostics()
675 static ASTUnit::StandaloneDiagnostic
719 IntrusiveRefCntPtr<ASTReader> ASTUnit::getASTReader() const { in getASTReader()
723 ASTMutationListener *ASTUnit::getASTMutationListener() { in getASTMutationListener()
729 ASTDeserializationListener *ASTUnit::getDeserializationListener() { in getDeserializationListener()
736 ASTUnit::getBufferForFile(StringRef Filename, std::string *ErrorStr) { in getBufferForFile()
747 void ASTUnit::ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags, in ConfigureDiags()
748 ASTUnit &AST, in ConfigureDiags()
757 std::unique_ptr<ASTUnit> ASTUnit::LoadFromASTFile( in LoadFromASTFile()
763 std::unique_ptr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile()
766 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromASTFile()
938 ASTUnit &Unit;
942 TopLevelDeclTrackerConsumer(ASTUnit &_Unit, unsigned &Hash) in TopLevelDeclTrackerConsumer()
997 ASTUnit &Unit;
1009 TopLevelDeclTrackerAction(ASTUnit &_Unit) : Unit(_Unit) {} in TopLevelDeclTrackerAction()
1059 llvm::SmallVector<ASTUnit::StandaloneDiagnostic, 4> PreambleDiags;
1098 bool ASTUnit::Parse(std::shared_ptr<PCHContainerOperations> PCHContainerOps, in Parse()
1237 static ASTUnit::StandaloneFixIt makeStandaloneFixIt(const SourceManager &SM, in makeStandaloneFixIt()
1240 ASTUnit::StandaloneFixIt OutFix; in makeStandaloneFixIt()
1249 static ASTUnit::StandaloneDiagnostic
1252 ASTUnit::StandaloneDiagnostic OutDiag; in makeStandaloneDiagnostic()
1294 ASTUnit::getMainBufferWithPrecompiledPreamble( in getMainBufferWithPrecompiledPreamble()
1420 void ASTUnit::RealizeTopLevelDeclsFromPreamble() { in RealizeTopLevelDeclsFromPreamble()
1436 void ASTUnit::transferASTDataFromCompilerInstance(CompilerInstance &CI) { in transferASTDataFromCompilerInstance()
1455 StringRef ASTUnit::getMainFileName() const { in getMainFileName()
1473 StringRef ASTUnit::getASTFileName() const { in getASTFileName()
1482 std::unique_ptr<ASTUnit>
1483 ASTUnit::create(std::shared_ptr<CompilerInvocation> CI, in create()
1487 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in create()
1503 ASTUnit *ASTUnit::LoadFromCompilerInvocationAction( in LoadFromCompilerInvocationAction()
1507 ASTUnit *Unit, bool Persistent, StringRef ResourceFilesPath, in LoadFromCompilerInvocationAction()
1510 bool UserFilesAreVolatile, std::unique_ptr<ASTUnit> *ErrAST) { in LoadFromCompilerInvocationAction()
1513 std::unique_ptr<ASTUnit> OwnAST; in LoadFromCompilerInvocationAction()
1514 ASTUnit *AST = Unit; in LoadFromCompilerInvocationAction()
1536 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCompilerInvocationAction()
1640 bool ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1674 std::unique_ptr<ASTUnit> ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1683 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in LoadFromCompilerInvocation()
1698 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCompilerInvocation()
1711 ASTUnit *ASTUnit::LoadFromCommandLine( in LoadFromCommandLine()
1722 llvm::Optional<StringRef> ModuleFormat, std::unique_ptr<ASTUnit> *ErrAST, in LoadFromCommandLine()
1762 std::unique_ptr<ASTUnit> AST; in LoadFromCommandLine()
1763 AST.reset(new ASTUnit(false)); in LoadFromCommandLine()
1790 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCommandLine()
1808 bool ASTUnit::Reparse(std::shared_ptr<PCHContainerOperations> PCHContainerOps, in Reparse()
1866 void ASTUnit::ResetForParse() { in ResetForParse()
1890 ASTUnit &AST;
1894 AugmentedCodeCompleteConsumer(ASTUnit &AST, CodeCompleteConsumer &Next, in AugmentedCodeCompleteConsumer()
2042 for (ASTUnit::cached_completion_iterator in ProcessCodeCompleteResults()
2119 void ASTUnit::CodeComplete( in CodeComplete()
2274 bool ASTUnit::Save(StringRef File) { in Save()
2313 bool ASTUnit::serialize(raw_ostream &OS) { in serialize()
2330 void ASTUnit::TranslateStoredDiagnostics( in TranslateStoredDiagnostics()
2389 void ASTUnit::addFileLevelDecl(Decl *D) { in addFileLevelDecl()
2430 void ASTUnit::findFileRegionDecls(FileID File, unsigned Offset, unsigned Length, in findFileRegionDecls()
2473 SourceLocation ASTUnit::getLocation(const FileEntry *File, in getLocation()
2480 SourceLocation ASTUnit::getLocation(const FileEntry *File, in getLocation()
2490 SourceLocation ASTUnit::mapLocationFromPreamble(SourceLocation Loc) const { in mapLocationFromPreamble()
2511 SourceLocation ASTUnit::mapLocationToPreamble(SourceLocation Loc) const { in mapLocationToPreamble()
2529 bool ASTUnit::isInPreambleFileID(SourceLocation Loc) const { in isInPreambleFileID()
2540 bool ASTUnit::isInMainFileID(SourceLocation Loc) const { in isInMainFileID()
2551 SourceLocation ASTUnit::getEndOfPreambleFileID() const { in getEndOfPreambleFileID()
2562 SourceLocation ASTUnit::getStartOfMainFileID() const { in getStartOfMainFileID()
2574 ASTUnit::getLocalPreprocessingEntities() const { in getLocalPreprocessingEntities()
2588 bool ASTUnit::visitLocalTopLevelDecls(void *context, DeclVisitorFn Fn) { in visitLocalTopLevelDecls()
2600 for (ASTUnit::top_level_iterator TL = top_level_begin(), in visitLocalTopLevelDecls()
2610 const FileEntry *ASTUnit::getPCHFile() { in getPCHFile()
2638 bool ASTUnit::isModuleFile() const { in isModuleFile()
2642 InputKind ASTUnit::getInputKind() const { in getInputKind()
2668 ASTUnit::ConcurrencyState::ConcurrencyState() { in ConcurrencyState()
2672 ASTUnit::ConcurrencyState::~ConcurrencyState() { in ~ConcurrencyState()
2676 void ASTUnit::ConcurrencyState::start() { in start()
2681 void ASTUnit::ConcurrencyState::finish() { in finish()
2687 ASTUnit::ConcurrencyState::ConcurrencyState() { Mutex = nullptr; } in ConcurrencyState()
2688 ASTUnit::ConcurrencyState::~ConcurrencyState() {} in ~ConcurrencyState()
2689 void ASTUnit::ConcurrencyState::start() {} in start()
2690 void ASTUnit::ConcurrencyState::finish() {} in finish()