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()
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;
1097 bool ASTUnit::Parse(std::shared_ptr<PCHContainerOperations> PCHContainerOps, in Parse()
1236 static ASTUnit::StandaloneFixIt makeStandaloneFixIt(const SourceManager &SM, in makeStandaloneFixIt()
1239 ASTUnit::StandaloneFixIt OutFix; in makeStandaloneFixIt()
1248 static ASTUnit::StandaloneDiagnostic
1251 ASTUnit::StandaloneDiagnostic OutDiag; in makeStandaloneDiagnostic()
1293 ASTUnit::getMainBufferWithPrecompiledPreamble( in getMainBufferWithPrecompiledPreamble()
1419 void ASTUnit::RealizeTopLevelDeclsFromPreamble() { in RealizeTopLevelDeclsFromPreamble()
1435 void ASTUnit::transferASTDataFromCompilerInstance(CompilerInstance &CI) { in transferASTDataFromCompilerInstance()
1454 StringRef ASTUnit::getMainFileName() const { in getMainFileName()
1472 StringRef ASTUnit::getASTFileName() const { in getASTFileName()
1481 std::unique_ptr<ASTUnit>
1482 ASTUnit::create(std::shared_ptr<CompilerInvocation> CI, in create()
1486 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in create()
1502 ASTUnit *ASTUnit::LoadFromCompilerInvocationAction( in LoadFromCompilerInvocationAction()
1506 ASTUnit *Unit, bool Persistent, StringRef ResourceFilesPath, in LoadFromCompilerInvocationAction()
1509 bool UserFilesAreVolatile, std::unique_ptr<ASTUnit> *ErrAST) { in LoadFromCompilerInvocationAction()
1512 std::unique_ptr<ASTUnit> OwnAST; in LoadFromCompilerInvocationAction()
1513 ASTUnit *AST = Unit; in LoadFromCompilerInvocationAction()
1535 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCompilerInvocationAction()
1639 bool ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1673 std::unique_ptr<ASTUnit> ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1682 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in LoadFromCompilerInvocation()
1697 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCompilerInvocation()
1710 ASTUnit *ASTUnit::LoadFromCommandLine( in LoadFromCommandLine()
1721 llvm::Optional<StringRef> ModuleFormat, std::unique_ptr<ASTUnit> *ErrAST, in LoadFromCommandLine()
1761 std::unique_ptr<ASTUnit> AST; in LoadFromCommandLine()
1762 AST.reset(new ASTUnit(false)); in LoadFromCommandLine()
1789 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCommandLine()
1807 bool ASTUnit::Reparse(std::shared_ptr<PCHContainerOperations> PCHContainerOps, in Reparse()
1865 void ASTUnit::ResetForParse() { in ResetForParse()
1889 ASTUnit &AST;
1893 AugmentedCodeCompleteConsumer(ASTUnit &AST, CodeCompleteConsumer &Next, in AugmentedCodeCompleteConsumer()
2041 for (ASTUnit::cached_completion_iterator in ProcessCodeCompleteResults()
2118 void ASTUnit::CodeComplete( in CodeComplete()
2273 bool ASTUnit::Save(StringRef File) { in Save()
2312 bool ASTUnit::serialize(raw_ostream &OS) { in serialize()
2329 void ASTUnit::TranslateStoredDiagnostics( in TranslateStoredDiagnostics()
2388 void ASTUnit::addFileLevelDecl(Decl *D) { in addFileLevelDecl()
2429 void ASTUnit::findFileRegionDecls(FileID File, unsigned Offset, unsigned Length, in findFileRegionDecls()
2472 SourceLocation ASTUnit::getLocation(const FileEntry *File, in getLocation()
2479 SourceLocation ASTUnit::getLocation(const FileEntry *File, in getLocation()
2489 SourceLocation ASTUnit::mapLocationFromPreamble(SourceLocation Loc) const { in mapLocationFromPreamble()
2510 SourceLocation ASTUnit::mapLocationToPreamble(SourceLocation Loc) const { in mapLocationToPreamble()
2528 bool ASTUnit::isInPreambleFileID(SourceLocation Loc) const { in isInPreambleFileID()
2539 bool ASTUnit::isInMainFileID(SourceLocation Loc) const { in isInMainFileID()
2550 SourceLocation ASTUnit::getEndOfPreambleFileID() const { in getEndOfPreambleFileID()
2561 SourceLocation ASTUnit::getStartOfMainFileID() const { in getStartOfMainFileID()
2573 ASTUnit::getLocalPreprocessingEntities() const { in getLocalPreprocessingEntities()
2587 bool ASTUnit::visitLocalTopLevelDecls(void *context, DeclVisitorFn Fn) { in visitLocalTopLevelDecls()
2599 for (ASTUnit::top_level_iterator TL = top_level_begin(), in visitLocalTopLevelDecls()
2609 const FileEntry *ASTUnit::getPCHFile() { in getPCHFile()
2637 bool ASTUnit::isModuleFile() const { in isModuleFile()
2641 InputKind ASTUnit::getInputKind() const { in getInputKind()
2667 ASTUnit::ConcurrencyState::ConcurrencyState() { in ConcurrencyState()
2671 ASTUnit::ConcurrencyState::~ConcurrencyState() { in ~ConcurrencyState()
2675 void ASTUnit::ConcurrencyState::start() { in start()
2680 void ASTUnit::ConcurrencyState::finish() { in finish()
2686 ASTUnit::ConcurrencyState::ConcurrencyState() { Mutex = nullptr; } in ConcurrencyState()
2687 ASTUnit::ConcurrencyState::~ConcurrencyState() {} in ~ConcurrencyState()
2688 void ASTUnit::ConcurrencyState::start() {} in start()
2689 void ASTUnit::ConcurrencyState::finish() {} in finish()