• Home
  • Raw
  • Download

Lines Matching refs:ASTUnit

109 typedef llvm::DenseMap<const ASTUnit *,
131 static OnDiskData &getOnDiskData(const ASTUnit *AU) { in getOnDiskData()
142 static void erasePreambleFile(const ASTUnit *AU) { in erasePreambleFile()
146 static void removeOnDiskEntry(const ASTUnit *AU) { in removeOnDiskEntry()
158 static void setPreambleFile(const ASTUnit *AU, StringRef preambleFile) { in setPreambleFile()
162 static const std::string &getPreambleFile(const ASTUnit *AU) { in getPreambleFile()
184 struct ASTUnit::ASTWriterData {
192 void ASTUnit::clearFileLevelDecls() { in clearFileLevelDecls()
196 void ASTUnit::CleanTemporaryFiles() { in CleanTemporaryFiles()
200 void ASTUnit::addTemporaryFile(StringRef TempFile) { in addTemporaryFile()
215 ASTUnit::ASTUnit(bool _MainFileIsAST) in ASTUnit() function in ASTUnit
234 ASTUnit::~ASTUnit() { in ~ASTUnit()
261 void ASTUnit::setPreprocessor(Preprocessor *pp) { PP = pp; } in setPreprocessor()
337 void ASTUnit::CacheCodeCompletionResults() { in CacheCodeCompletionResults()
480 void ASTUnit::ClearCachedCompletionResults() { in ClearCachedCompletionResults()
621 ASTMutationListener *ASTUnit::getASTMutationListener() { in getASTMutationListener()
627 ASTDeserializationListener *ASTUnit::getDeserializationListener() { in getDeserializationListener()
634 ASTUnit::getBufferForFile(StringRef Filename, std::string *ErrorStr) { in getBufferForFile()
645 void ASTUnit::ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags, in ConfigureDiags()
646 ASTUnit &AST, bool CaptureDiagnostics) { in ConfigureDiags()
652 std::unique_ptr<ASTUnit> ASTUnit::LoadFromASTFile( in LoadFromASTFile()
659 std::unique_ptr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile()
662 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromASTFile()
820 ASTUnit &Unit;
824 TopLevelDeclTrackerConsumer(ASTUnit &_Unit, unsigned &Hash) in TopLevelDeclTrackerConsumer()
879 ASTUnit &Unit;
891 TopLevelDeclTrackerAction(ASTUnit &_Unit) : Unit(_Unit) {} in TopLevelDeclTrackerAction()
900 ASTUnit &Unit;
904 explicit PrecompilePreambleAction(ASTUnit &Unit) in PrecompilePreambleAction()
919 ASTUnit &Unit;
926 PrecompilePreambleConsumer(ASTUnit &Unit, PrecompilePreambleAction *Action, in PrecompilePreambleConsumer()
1034 bool ASTUnit::Parse(std::shared_ptr<PCHContainerOperations> PCHContainerOps, in Parse()
1187 ASTUnit::ComputedPreamble
1188 ASTUnit::ComputePreamble(CompilerInvocation &Invocation, unsigned MaxLines) { in ComputePreamble()
1244 ASTUnit::PreambleFileHash
1245 ASTUnit::PreambleFileHash::createForFile(off_t Size, time_t ModTime) { in createForFile()
1253 ASTUnit::PreambleFileHash ASTUnit::PreambleFileHash::createForMemoryBuffer( in createForMemoryBuffer()
1267 bool operator==(const ASTUnit::PreambleFileHash &LHS, in operator ==()
1268 const ASTUnit::PreambleFileHash &RHS) { in operator ==()
1283 static ASTUnit::StandaloneFixIt makeStandaloneFixIt(const SourceManager &SM, in makeStandaloneFixIt()
1286 ASTUnit::StandaloneFixIt OutFix; in makeStandaloneFixIt()
1295 static ASTUnit::StandaloneDiagnostic
1298 ASTUnit::StandaloneDiagnostic OutDiag; in makeStandaloneDiagnostic()
1340 ASTUnit::getMainBufferWithPrecompiledPreamble( in getMainBufferWithPrecompiledPreamble()
1649 void ASTUnit::RealizeTopLevelDeclsFromPreamble() { in RealizeTopLevelDeclsFromPreamble()
1663 void ASTUnit::transferASTDataFromCompilerInstance(CompilerInstance &CI) { in transferASTDataFromCompilerInstance()
1682 StringRef ASTUnit::getMainFileName() const { in getMainFileName()
1700 StringRef ASTUnit::getASTFileName() const { in getASTFileName()
1709 ASTUnit *ASTUnit::create(CompilerInvocation *CI, in create()
1713 std::unique_ptr<ASTUnit> AST; in create()
1714 AST.reset(new ASTUnit(false)); in create()
1731 ASTUnit *ASTUnit::LoadFromCompilerInvocationAction( in LoadFromCompilerInvocationAction()
1735 ASTUnit *Unit, bool Persistent, StringRef ResourceFilesPath, in LoadFromCompilerInvocationAction()
1739 std::unique_ptr<ASTUnit> *ErrAST) { in LoadFromCompilerInvocationAction()
1742 std::unique_ptr<ASTUnit> OwnAST; in LoadFromCompilerInvocationAction()
1743 ASTUnit *AST = Unit; in LoadFromCompilerInvocationAction()
1766 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCompilerInvocationAction()
1874 bool ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1902 std::unique_ptr<ASTUnit> ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1911 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in LoadFromCompilerInvocation()
1926 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCompilerInvocation()
1938 ASTUnit *ASTUnit::LoadFromCommandLine( in LoadFromCommandLine()
1948 llvm::Optional<StringRef> ModuleFormat, std::unique_ptr<ASTUnit> *ErrAST) { in LoadFromCommandLine()
1985 std::unique_ptr<ASTUnit> AST; in LoadFromCommandLine()
1986 AST.reset(new ASTUnit(false)); in LoadFromCommandLine()
2012 llvm::CrashRecoveryContextCleanupRegistrar<ASTUnit> in LoadFromCommandLine()
2029 bool ASTUnit::Reparse(std::shared_ptr<PCHContainerOperations> PCHContainerOps, in Reparse()
2091 ASTUnit &AST;
2095 AugmentedCodeCompleteConsumer(ASTUnit &AST, CodeCompleteConsumer &Next, in AugmentedCodeCompleteConsumer()
2240 for (ASTUnit::cached_completion_iterator in ProcessCodeCompleteResults()
2317 void ASTUnit::CodeComplete( in CodeComplete()
2465 bool ASTUnit::Save(StringRef File) { in Save()
2511 bool ASTUnit::serialize(raw_ostream &OS) { in serialize()
2527 void ASTUnit::TranslateStoredDiagnostics( in TranslateStoredDiagnostics()
2578 void ASTUnit::addFileLevelDecl(Decl *D) { in addFileLevelDecl()
2619 void ASTUnit::findFileRegionDecls(FileID File, unsigned Offset, unsigned Length, in findFileRegionDecls()
2662 SourceLocation ASTUnit::getLocation(const FileEntry *File, in getLocation()
2669 SourceLocation ASTUnit::getLocation(const FileEntry *File, in getLocation()
2679 SourceLocation ASTUnit::mapLocationFromPreamble(SourceLocation Loc) { in mapLocationFromPreamble()
2700 SourceLocation ASTUnit::mapLocationToPreamble(SourceLocation Loc) { in mapLocationToPreamble()
2718 bool ASTUnit::isInPreambleFileID(SourceLocation Loc) { in isInPreambleFileID()
2729 bool ASTUnit::isInMainFileID(SourceLocation Loc) { in isInMainFileID()
2740 SourceLocation ASTUnit::getEndOfPreambleFileID() { in getEndOfPreambleFileID()
2751 SourceLocation ASTUnit::getStartOfMainFileID() { in getStartOfMainFileID()
2763 ASTUnit::getLocalPreprocessingEntities() const { in getLocalPreprocessingEntities()
2777 bool ASTUnit::visitLocalTopLevelDecls(void *context, DeclVisitorFn Fn) { in visitLocalTopLevelDecls()
2789 for (ASTUnit::top_level_iterator TL = top_level_begin(), in visitLocalTopLevelDecls()
2799 const FileEntry *ASTUnit::getPCHFile() { in getPCHFile()
2826 bool ASTUnit::isModuleFile() { in isModuleFile()
2830 void ASTUnit::PreambleData::countLines() const { in countLines()
2842 ASTUnit::ConcurrencyState::ConcurrencyState() { in ConcurrencyState()
2846 ASTUnit::ConcurrencyState::~ConcurrencyState() { in ~ConcurrencyState()
2850 void ASTUnit::ConcurrencyState::start() { in start()
2855 void ASTUnit::ConcurrencyState::finish() { in finish()
2861 ASTUnit::ConcurrencyState::ConcurrencyState() { Mutex = nullptr; } in ConcurrencyState()
2862 ASTUnit::ConcurrencyState::~ConcurrencyState() {} in ~ConcurrencyState()
2863 void ASTUnit::ConcurrencyState::start() {} in start()
2864 void ASTUnit::ConcurrencyState::finish() {} in finish()