Home
last modified time | relevance | path

Searched refs:ExternalSource (Results 1 – 18 of 18) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessingRecord.cpp108 assert(ExternalSource && "No external source to load from"); in isEntityInFileID()
116 ExternalSource->isPreprocessedEntityInFileID(LoadedIndex, FID)) in isEntityInFileID()
145 if (!ExternalSource || SourceMgr.isLocalSourceLocation(Range.getBegin())) in getPreprocessedEntitiesInRangeSlow()
149 Loaded = ExternalSource->findPreprocessedEntitiesInRange(Range); in getPreprocessedEntitiesInRangeSlow()
315 assert(!ExternalSource && in SetExternalSource()
317 ExternalSource = &Source; in SetExternalSource()
335 if (SkippedRangesAllLoaded || !ExternalSource) in ensureSkippedRangesLoaded()
339 SkippedRanges[Index] = ExternalSource->ReadSkippedRange(Index); in ensureSkippedRangesLoaded()
371 assert(ExternalSource && "No external source to load from"); in getLoadedPreprocessedEntity()
374 Entity = ExternalSource->ReadPreprocessedEntity(Index); in getLoadedPreprocessedEntity()
H A DHeaderSearch.cpp1320 if (ExternalSource && !HFI->Resolved) { in getFileInfo()
1321 auto ExternalHFI = ExternalSource->GetHeaderFileInfo(FE); in getFileInfo()
1341 if (ExternalSource) { in getExistingFileInfo()
1352 auto ExternalHFI = ExternalSource->GetHeaderFileInfo(FE); in getExistingFileInfo()
1557 if (ExternalSource) { in findModuleForHeader()
1567 if (ExternalSource) { in findAllModulesForHeader()
1577 if (ExternalSource) { in findResolvedModulesForHeader()
H A DPreprocessor.cpp88 TheModuleLoader(TheModuleLoader), ExternalSource(nullptr), in Preprocessor()
313 if (IncludeExternalMacros && ExternalSource && in macro_begin()
316 ExternalSource->ReadDefinedMacros(); in macro_begin()
340 if (IncludeExternalMacros && ExternalSource && in macro_end()
343 ExternalSource->ReadDefinedMacros(); in macro_end()
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp220 class ExternalSource : public clang::ExternalASTSource { class
228 ExternalSource(ASTContext &ChildASTCtxt, FileManager &ChildFM,
240 ExternalSource *myExternalSource = in ExecuteAction()
241 new ExternalSource(CI.getASTContext(), CI.getFileManager(), in ExecuteAction()
262 ExternalSource::ExternalSource(ASTContext &ChildASTCtxt, FileManager &ChildFM, in ExternalSource() function in clang::ExternalSource
273 bool ExternalSource::FindExternalVisibleDeclsByName(const DeclContext *DC, in FindExternalVisibleDeclsByName()
290 void ExternalSource::completeVisibleDeclsMap( in completeVisibleDeclsMap()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTSource.h400 ExternalASTSource *ExternalSource; member
405 : ExternalSource(Source), LastValue(Value) {} in LazyData()
447 if (LazyVal->LastGeneration != LazyVal->ExternalSource->getGeneration()) { in get()
448 LazyVal->LastGeneration = LazyVal->ExternalSource->getGeneration(); in get()
449 (LazyVal->ExternalSource->*Update)(O); in get()
H A DASTContext.h641 IntrusiveRefCntPtr<ExternalASTSource> ExternalSource; variable
1180 return ExternalSource.get(); in getExternalSource()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp553 if (!ExternalSource) { in addExternalSource()
554 ExternalSource = E; in addExternalSource()
561 ExternalSource = new MultiplexExternalSemaSource(ExternalSource.get(), E); in addExternalSource()
930 if (!ExternalSource) in LoadExternalWeakUndeclaredIdentifiers()
1021 if (ExternalSource) in emitAndClearUnusedLocalTypedefWarnings()
1075 if (ExternalSource) { in ActOnEndOfTranslationUnitFragment()
1078 ExternalSource->ReadPendingInstantiations(Pending); in ActOnEndOfTranslationUnitFragment()
1204 if (ExternalSource) in ActOnEndOfTranslationUnit()
1454 if (ExternalSource) in ActOnEndOfTranslationUnit()
1820 if (ExternalSource) in emitDeferredDiags()
[all …]
H A DSemaDeclObjC.cpp3422 assert(ExternalSource && "We need an external AST source"); in ReadMethodPool()
3423 ExternalSource->ReadMethodPool(Sel); in ReadMethodPool()
3427 if (!ExternalSource) in updateOutOfDateSelector()
3429 ExternalSource->updateOutOfDateSelector(Sel); in updateOutOfDateSelector()
3438 if (ExternalSource) in AddMethodToGlobalPool()
3515 if (ExternalSource) in CollectMultipleMethodsInGlobalPool()
3578 if (ExternalSource) in LookupMethodInGlobalPool()
5256 if (ExternalSource) { in DiagnoseUseOfUnimplementedSelectors()
5258 ExternalSource->ReadReferencedSelectors(Sels); in DiagnoseUseOfUnimplementedSelectors()
H A DSemaLookup.cpp2290 return (ExternalSource && ExternalSource->LookupUnqualified(R, S)); in LookupName()
5312 if (ExternalSource && !LoadedExternalKnownNamespaces) { in makeTypoCorrectionConsumer()
5315 ExternalSource->ReadKnownNamespaces(ExternalKnownNamespaces); in makeTypoCorrectionConsumer()
5368 if (ExternalSource) { in CorrectTypo()
5370 ExternalSource->CorrectTypo(TypoName, LookupKind, S, SS, CCC, in CorrectTypo()
5504 if (ExternalSource && Consumer) { in CorrectTypoDelayed()
5505 ExternalTypo = ExternalSource->CorrectTypo( in CorrectTypoDelayed()
H A DSemaCodeComplete.cpp8331 if (ExternalSource) { in CodeCompleteObjCInstanceMessage()
8332 for (uint32_t I = 0, N = ExternalSource->GetNumExternalSelectors(); in CodeCompleteObjCInstanceMessage()
8334 Selector Sel = ExternalSource->GetExternalSelector(I); in CodeCompleteObjCInstanceMessage()
8402 if (ExternalSource) { in CodeCompleteObjCSelector()
8403 for (uint32_t I = 0, N = ExternalSource->GetNumExternalSelectors(); I != N; in CodeCompleteObjCSelector()
8405 Selector Sel = ExternalSource->GetExternalSelector(I); in CodeCompleteObjCSelector()
9740 if (ExternalSource) { in CodeCompleteObjCMethodDeclSelector()
9741 for (uint32_t I = 0, N = ExternalSource->GetNumExternalSelectors(); I != N; in CodeCompleteObjCMethodDeclSelector()
9743 Selector Sel = ExternalSource->GetExternalSelector(I); in CodeCompleteObjCMethodDeclSelector()
H A DSemaType.cpp9550 if (ExternalSource) in RequireCompleteTypeImpl()
9551 ExternalSource->MaybeDiagnoseMissingCompleteType(Loc, T); in RequireCompleteTypeImpl()
H A DSemaDeclCXX.cpp18602 if (!ExternalSource) in LoadExternalVTableUses()
18606 ExternalSource->ReadUsedVTables(VTables); in LoadExternalVTableUses()
18944 I = DelegatingCtorDecls.begin(ExternalSource.get()), in CheckDelegatingCtorCycles()
H A DSemaTemplateInstantiateDecl.cpp5005 ExternalSource->ReadLateParsedTemplates(LateParsedTemplateMap); in InstantiateFunctionDefinition()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessingRecord.h358 ExternalPreprocessingRecordSource *ExternalSource = nullptr; variable
509 return ExternalSource; in getExternalSource()
H A DHeaderSearch.h350 ExternalHeaderFileInfoSource *ExternalSource = nullptr; variable
451 ExternalSource = ES; in SetExternalSource()
H A DPreprocessor.h145 ExternalPreprocessorSource *ExternalSource; variable
1209 ExternalSource = Source; in setExternalSource()
1213 return ExternalSource; in getExternalSource()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp301 if (ExternalSource && !CommentsLoaded) { in getRawCommentForDeclNoCache()
302 ExternalSource->ReadComments(); in getRawCommentForDeclNoCache()
946 ExternalSource = std::move(Source); in setExternalSource()
1002 if (ExternalSource) { in PrintStats()
1004 ExternalSource->PrintStats(); in PrintStats()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h362 IntrusiveRefCntPtr<ExternalSemaSource> ExternalSource; variable
1697 ExternalSemaSource *getExternalSource() const { return ExternalSource.get(); } in getExternalSource()