Home
last modified time | relevance | path

Searched refs:getParentASTContext (Results 1 – 22 of 22) sorted by relevance

/external/clang/lib/AST/
DDeclBase.cpp77 assert(!Parent || &Parent->getParentASTContext() == &Ctx); in operator new()
1110 ExternalASTSource *Source = getParentASTContext().getExternalSource(); in LoadLexicalDeclsFromExternalStorage()
1145 ASTContext &Context = DC->getParentASTContext(); in SetNoExternalVisibleDeclsForName()
1161 ASTContext &Context = DC->getParentASTContext(); in SetExternalVisibleDeclsForName()
1392 !getParentASTContext().getLangOpts().CPlusPlus))) in buildLookupImpl()
1418 ExternalASTSource *Source = getParentASTContext().getExternalSource(); in lookup()
1435 Map = CreateStoredDeclsMap(getParentASTContext()); in lookup()
1612 (getParentASTContext().getLangOpts().CPlusPlus || in makeDeclVisibleInContextWithFlags()
1640 ASTContext *C = &getParentASTContext(); in makeDeclVisibleInContextImpl()
1649 if (ExternalASTSource *Source = getParentASTContext().getExternalSource()) in makeDeclVisibleInContextImpl()
DDeclFriend.cpp66 ExternalASTSource *Source = getParentASTContext().getExternalSource(); in getFirstFriend()
DType.cpp1248 return substObjCTypeArgs(dc->getParentASTContext(), *subs, context); in substObjCMemberType()
1325 ASTContext &ctx = dc->getParentASTContext(); in getObjCSubstitutions()
/external/llvm-project/clang/lib/AST/
DDeclBase.cpp95 assert(!Parent || &Parent->getParentASTContext() == &Ctx); in operator new()
1343 ExternalASTSource *Source = getParentASTContext().getExternalSource(); in LoadLexicalDeclsFromExternalStorage()
1378 ASTContext &Context = DC->getParentASTContext(); in SetNoExternalVisibleDeclsForName()
1394 ASTContext &Context = DC->getParentASTContext(); in SetExternalVisibleDeclsForName()
1654 !getParentASTContext().getLangOpts().CPlusPlus))) in buildLookupImpl()
1681 ExternalASTSource *Source = getParentASTContext().getExternalSource(); in lookup()
1699 Map = CreateStoredDeclsMap(getParentASTContext()); in lookup()
1813 !getParentASTContext().getLangOpts().CPlusPlus; in getRedeclContext()
1892 (getParentASTContext().getLangOpts().CPlusPlus || in makeDeclVisibleInContextWithFlags()
1920 ASTContext *C = &getParentASTContext(); in makeDeclVisibleInContextImpl()
[all …]
DDeclFriend.cpp73 ExternalASTSource *Source = getParentASTContext().getExternalSource(); in getFirstFriend()
DType.cpp1489 return substObjCTypeArgs(dc->getParentASTContext(), *subs, context); in substObjCMemberType()
1549 ASTContext &ctx = dc->getParentASTContext(); in getObjCSubstitutions()
DDeclCXX.cpp1588 ExternalASTSource *Source = getParentASTContext().getExternalSource(); in getLambdaContextDecl()
/external/llvm-project/clang/lib/Tooling/Refactoring/
DLookup.cpp143 auto &AST = UseContext.getParentASTContext(); in disambiguateSpellingInScope()
145 const auto &SM = UseContext.getParentASTContext().getSourceManager(); in disambiguateSpellingInScope()
/external/llvm-project/clang-tools-extra/clangd/
DAST.cpp83 const auto &SM = DestContext->getParentASTContext().getSourceManager(); in getUsingNamespaceDirectives()
309 OS << getQualification(CurContext.getParentASTContext(), &CurContext, in printType()
312 PrintingPolicy PP(CurContext.getParentASTContext().getPrintingPolicy()); in printType()
DXRefs.cpp989 N.getDeclContext().getParentASTContext().getSourceManager(); in relatedControlFlow()
/external/llvm-project/clang/include/clang/AST/
DDeclLookups.h78 getParentASTContext().getExternalSource()->completeVisibleDeclsMap(Primary); in lookups()
DDeclBase.h1844 ASTContext &getParentASTContext() const { in getParentASTContext() function
/external/clang/include/clang/AST/
DDeclLookups.h74 getParentASTContext().getExternalSource()->completeVisibleDeclsMap(Primary); in lookups()
DDeclBase.h1243 ASTContext &getParentASTContext() const { in getParentASTContext() function
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DPopulateSwitch.cpp186 ASTContext &DeclASTCtx = DeclCtx->getParentASTContext(); in apply()
DExtractFunction.cpp655 ExtractedFunc.ReturnType = EnclosingFunc.getParentASTContext().VoidTy; in generateReturnProperties()
/external/llvm-project/clang/lib/Analysis/
DUninitializedValues.cpp253 dyn_cast<DeclRefExpr>(stripCasts(DC->getParentASTContext(), E))) in findVar()
437 const Expr *Ex = stripCasts(DC->getParentASTContext(), *I); in VisitCallExpr()
/external/clang/lib/Analysis/
DUninitializedValues.cpp295 dyn_cast<DeclRefExpr>(stripCasts(DC->getParentASTContext(), E))) in findVar()
463 const Expr *Ex = stripCasts(DC->getParentASTContext(), *I); in VisitCallExpr()
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCDeclVendor.cpp41 static_cast<void *>(&decl_ctx->getParentASTContext()), in FindExternalVisibleDeclsByName()
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.cpp862 bool Conflict = conflictInNamespace(DeclCtx->getParentASTContext(), in replaceQualifiedSymbolInDeclContext()
/external/llvm-project/clang/lib/Sema/
DSemaLookup.cpp5221 CurContext->getParentASTContext().getLangOpts().CPlusPlus) in ValidateCandidate()
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp1215 assert(&ctx->getParentASTContext() == &getASTContext()); in CreateDeclContext()