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()
764 std::unique_ptr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile()
767 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromASTFile()
937 ASTUnit &Unit;
941 TopLevelDeclTrackerConsumer(ASTUnit &_Unit, unsigned &Hash) in TopLevelDeclTrackerConsumer()
996 ASTUnit &Unit;
1008 TopLevelDeclTrackerAction(ASTUnit &_Unit) : Unit(_Unit) {} in TopLevelDeclTrackerAction()
1058 llvm::SmallVector<ASTUnit::StandaloneDiagnostic, 4> PreambleDiags;
1095 bool ASTUnit::Parse(std::shared_ptr<PCHContainerOperations> PCHContainerOps, in Parse()
1234 static ASTUnit::StandaloneFixIt makeStandaloneFixIt(const SourceManager &SM, in makeStandaloneFixIt()
1237 ASTUnit::StandaloneFixIt OutFix; in makeStandaloneFixIt()
1246 static ASTUnit::StandaloneDiagnostic
1249 ASTUnit::StandaloneDiagnostic OutDiag; in makeStandaloneDiagnostic()
1291 ASTUnit::getMainBufferWithPrecompiledPreamble( in getMainBufferWithPrecompiledPreamble()
1417 void ASTUnit::RealizeTopLevelDeclsFromPreamble() { in RealizeTopLevelDeclsFromPreamble()
1433 void ASTUnit::transferASTDataFromCompilerInstance(CompilerInstance &CI) { in transferASTDataFromCompilerInstance()
1452 StringRef ASTUnit::getMainFileName() const { in getMainFileName()
1470 StringRef ASTUnit::getASTFileName() const { in getASTFileName()
1479 std::unique_ptr<ASTUnit>
1480 ASTUnit::create(std::shared_ptr<CompilerInvocation> CI, in create()
1484 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in create()
1500 ASTUnit *ASTUnit::LoadFromCompilerInvocationAction( in LoadFromCompilerInvocationAction()
1504 ASTUnit *Unit, bool Persistent, StringRef ResourceFilesPath, in LoadFromCompilerInvocationAction()
1507 bool UserFilesAreVolatile, std::unique_ptr<ASTUnit> *ErrAST) { in LoadFromCompilerInvocationAction()
1510 std::unique_ptr<ASTUnit> OwnAST; in LoadFromCompilerInvocationAction()
1511 ASTUnit *AST = Unit; in LoadFromCompilerInvocationAction()
1533 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCompilerInvocationAction()
1637 bool ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1671 std::unique_ptr<ASTUnit> ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1680 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in LoadFromCompilerInvocation()
1695 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCompilerInvocation()
1708 ASTUnit *ASTUnit::LoadFromCommandLine( in LoadFromCommandLine()
1719 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()
2044 for (ASTUnit::cached_completion_iterator in ProcessCodeCompleteResults()
2121 void ASTUnit::CodeComplete( in CodeComplete()
2276 bool ASTUnit::Save(StringRef File) { in Save()
2315 bool ASTUnit::serialize(raw_ostream &OS) { in serialize()
2332 void ASTUnit::TranslateStoredDiagnostics( in TranslateStoredDiagnostics()
2391 void ASTUnit::addFileLevelDecl(Decl *D) { in addFileLevelDecl()
2432 void ASTUnit::findFileRegionDecls(FileID File, unsigned Offset, unsigned Length, in findFileRegionDecls()
2475 SourceLocation ASTUnit::getLocation(const FileEntry *File, in getLocation()
2482 SourceLocation ASTUnit::getLocation(const FileEntry *File, in getLocation()
2492 SourceLocation ASTUnit::mapLocationFromPreamble(SourceLocation Loc) const { in mapLocationFromPreamble()
2513 SourceLocation ASTUnit::mapLocationToPreamble(SourceLocation Loc) const { in mapLocationToPreamble()
2531 bool ASTUnit::isInPreambleFileID(SourceLocation Loc) const { in isInPreambleFileID()
2542 bool ASTUnit::isInMainFileID(SourceLocation Loc) const { in isInMainFileID()
2553 SourceLocation ASTUnit::getEndOfPreambleFileID() const { in getEndOfPreambleFileID()
2564 SourceLocation ASTUnit::getStartOfMainFileID() const { in getStartOfMainFileID()
2576 ASTUnit::getLocalPreprocessingEntities() const { in getLocalPreprocessingEntities()
2590 bool ASTUnit::visitLocalTopLevelDecls(void *context, DeclVisitorFn Fn) { in visitLocalTopLevelDecls()
2602 for (ASTUnit::top_level_iterator TL = top_level_begin(), in visitLocalTopLevelDecls()
2612 const FileEntry *ASTUnit::getPCHFile() { in getPCHFile()
2640 bool ASTUnit::isModuleFile() const { in isModuleFile()
2644 InputKind ASTUnit::getInputKind() const { in getInputKind()
2670 ASTUnit::ConcurrencyState::ConcurrencyState() { in ConcurrencyState()
2674 ASTUnit::ConcurrencyState::~ConcurrencyState() { in ~ConcurrencyState()
2678 void ASTUnit::ConcurrencyState::start() { in start()
2683 void ASTUnit::ConcurrencyState::finish() { in finish()
2689 ASTUnit::ConcurrencyState::ConcurrencyState() { Mutex = nullptr; } in ConcurrencyState()
2690 ASTUnit::ConcurrencyState::~ConcurrencyState() {} in ~ConcurrencyState()
2691 void ASTUnit::ConcurrencyState::start() {} in start()
2692 void ASTUnit::ConcurrencyState::finish() {} in finish()