Lines Matching refs:ASTUnit
217 struct ASTUnit::ASTWriterData {
226 void ASTUnit::clearFileLevelDecls() { in clearFileLevelDecls()
241 ASTUnit::ASTUnit(bool _MainFileIsAST) in ASTUnit() function in ASTUnit
250 ASTUnit::~ASTUnit() { in ~ASTUnit()
274 void ASTUnit::setPreprocessor(std::shared_ptr<Preprocessor> PP) { in setPreprocessor()
278 void ASTUnit::enableSourceFileDiagnostics() { in enableSourceFileDiagnostics()
364 void ASTUnit::CacheCodeCompletionResults() { in CacheCodeCompletionResults()
507 void ASTUnit::ClearCachedCompletionResults() { in ClearCachedCompletionResults()
658 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags;
666 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags, in FilterAndStoreDiagnosticConsumer()
697 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags) in CaptureDroppedDiagnostics()
718 static ASTUnit::StandaloneDiagnostic
762 IntrusiveRefCntPtr<ASTReader> ASTUnit::getASTReader() const { in getASTReader()
766 ASTMutationListener *ASTUnit::getASTMutationListener() { in getASTMutationListener()
772 ASTDeserializationListener *ASTUnit::getDeserializationListener() { in getDeserializationListener()
779 ASTUnit::getBufferForFile(StringRef Filename, std::string *ErrorStr) { in getBufferForFile()
790 void ASTUnit::ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags, in ConfigureDiags()
791 ASTUnit &AST, in ConfigureDiags()
800 std::unique_ptr<ASTUnit> ASTUnit::LoadFromASTFile( in LoadFromASTFile()
808 std::unique_ptr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile()
811 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromASTFile()
985 ASTUnit &Unit;
989 TopLevelDeclTrackerConsumer(ASTUnit &_Unit, unsigned &Hash) in TopLevelDeclTrackerConsumer()
1044 ASTUnit &Unit;
1056 TopLevelDeclTrackerAction(ASTUnit &_Unit) : Unit(_Unit) {} in TopLevelDeclTrackerAction()
1106 llvm::SmallVector<ASTUnit::StandaloneDiagnostic, 4> PreambleDiags;
1143 bool ASTUnit::Parse(std::shared_ptr<PCHContainerOperations> PCHContainerOps, in Parse()
1282 static ASTUnit::StandaloneFixIt makeStandaloneFixIt(const SourceManager &SM, in makeStandaloneFixIt()
1285 ASTUnit::StandaloneFixIt OutFix; in makeStandaloneFixIt()
1294 static ASTUnit::StandaloneDiagnostic
1297 ASTUnit::StandaloneDiagnostic OutDiag; in makeStandaloneDiagnostic()
1339 ASTUnit::getMainBufferWithPrecompiledPreamble( in getMainBufferWithPrecompiledPreamble()
1466 void ASTUnit::RealizeTopLevelDeclsFromPreamble() { in RealizeTopLevelDeclsFromPreamble()
1483 void ASTUnit::transferASTDataFromCompilerInstance(CompilerInstance &CI) { in transferASTDataFromCompilerInstance()
1502 StringRef ASTUnit::getMainFileName() const { in getMainFileName()
1520 StringRef ASTUnit::getASTFileName() const { in getASTFileName()
1529 std::unique_ptr<ASTUnit>
1530 ASTUnit::create(std::shared_ptr<CompilerInvocation> CI, in create()
1534 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in create()
1550 ASTUnit *ASTUnit::LoadFromCompilerInvocationAction( in LoadFromCompilerInvocationAction()
1554 ASTUnit *Unit, bool Persistent, StringRef ResourceFilesPath, in LoadFromCompilerInvocationAction()
1557 bool UserFilesAreVolatile, std::unique_ptr<ASTUnit> *ErrAST) { in LoadFromCompilerInvocationAction()
1560 std::unique_ptr<ASTUnit> OwnAST; in LoadFromCompilerInvocationAction()
1561 ASTUnit *AST = Unit; in LoadFromCompilerInvocationAction()
1583 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCompilerInvocationAction()
1687 bool ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1721 std::unique_ptr<ASTUnit> ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1730 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in LoadFromCompilerInvocation()
1745 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCompilerInvocation()
1758 std::unique_ptr<ASTUnit> ASTUnit::LoadFromCommandLine( in LoadFromCommandLine()
1770 std::unique_ptr<ASTUnit> *ErrAST, in LoadFromCommandLine()
1818 std::unique_ptr<ASTUnit> AST; in LoadFromCommandLine()
1819 AST.reset(new ASTUnit(false)); in LoadFromCommandLine()
1846 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCommandLine()
1864 bool ASTUnit::Reparse(std::shared_ptr<PCHContainerOperations> PCHContainerOps, in Reparse()
1922 void ASTUnit::ResetForParse() { in ResetForParse()
1946 ASTUnit &AST;
1950 AugmentedCodeCompleteConsumer(ASTUnit &AST, CodeCompleteConsumer &Next, in AugmentedCodeCompleteConsumer()
2102 for (ASTUnit::cached_completion_iterator in ProcessCodeCompleteResults()
2179 void ASTUnit::CodeComplete( in CodeComplete()
2336 bool ASTUnit::Save(StringRef File) { in Save()
2367 bool ASTUnit::serialize(raw_ostream &OS) { in serialize()
2378 void ASTUnit::TranslateStoredDiagnostics( in TranslateStoredDiagnostics()
2437 void ASTUnit::addFileLevelDecl(Decl *D) { in addFileLevelDecl()
2478 void ASTUnit::findFileRegionDecls(FileID File, unsigned Offset, unsigned Length, in findFileRegionDecls()
2521 SourceLocation ASTUnit::getLocation(const FileEntry *File, in getLocation()
2528 SourceLocation ASTUnit::getLocation(const FileEntry *File, in getLocation()
2538 SourceLocation ASTUnit::mapLocationFromPreamble(SourceLocation Loc) const { in mapLocationFromPreamble()
2559 SourceLocation ASTUnit::mapLocationToPreamble(SourceLocation Loc) const { in mapLocationToPreamble()
2577 bool ASTUnit::isInPreambleFileID(SourceLocation Loc) const { in isInPreambleFileID()
2588 bool ASTUnit::isInMainFileID(SourceLocation Loc) const { in isInMainFileID()
2599 SourceLocation ASTUnit::getEndOfPreambleFileID() const { in getEndOfPreambleFileID()
2610 SourceLocation ASTUnit::getStartOfMainFileID() const { in getStartOfMainFileID()
2622 ASTUnit::getLocalPreprocessingEntities() const { in getLocalPreprocessingEntities()
2636 bool ASTUnit::visitLocalTopLevelDecls(void *context, DeclVisitorFn Fn) { in visitLocalTopLevelDecls()
2648 for (ASTUnit::top_level_iterator TL = top_level_begin(), in visitLocalTopLevelDecls()
2658 OptionalFileEntryRef ASTUnit::getPCHFile() { in getPCHFile()
2686 bool ASTUnit::isModuleFile() const { in isModuleFile()
2690 InputKind ASTUnit::getInputKind() const { in getInputKind()
2716 ASTUnit::ConcurrencyState::ConcurrencyState() { in ConcurrencyState()
2720 ASTUnit::ConcurrencyState::~ConcurrencyState() { in ~ConcurrencyState()
2724 void ASTUnit::ConcurrencyState::start() { in start()
2729 void ASTUnit::ConcurrencyState::finish() { in finish()
2735 ASTUnit::ConcurrencyState::ConcurrencyState() { Mutex = nullptr; } in ConcurrencyState()
2736 ASTUnit::ConcurrencyState::~ConcurrencyState() {} in ~ConcurrencyState()
2737 void ASTUnit::ConcurrencyState::start() {} in start()
2738 void ASTUnit::ConcurrencyState::finish() {} in finish()