/external/llvm-project/clang/examples/Attribute/ |
D | Attribute.cpp | 51 if (!D->getDeclContext()->isFileContext()) { in handleDeclAttribute()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransGCCalls.cpp | 48 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
|
D | Transforms.cpp | 200 return DRE->getDecl()->getDeclContext()->isFileContext() && in isGlobalVar()
|
/external/clang/lib/ARCMigrate/ |
D | TransGCCalls.cpp | 49 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
|
D | Transforms.cpp | 205 return DRE->getDecl()->getDeclContext()->isFileContext() && in isGlobalVar()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclBase.cpp | 267 if (DC->isFileContext()) in getTemplateDepth() 1095 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent() 1142 if (isFileContext()) in isDependentContext() 1825 while (!Ctx->isFileContext()) in getEnclosingNamespaceContext() 1843 if (!isFileContext()) in InEnclosingNamespaceSetOf()
|
D | CXXInheritance.cpp | 120 for (; !CurContext->isFileContext(); CurContext = CurContext->getParent()) in isCurrentInstantiation()
|
D | ODRHash.cpp | 530 if (DC->getLexicalParent()->isFileContext()) return; in AddFunctionDecl()
|
/external/clang/lib/Sema/ |
D | SemaLookup.cpp | 110 assert(InnermostFileDC && InnermostFileDC->isFileContext()); in visitScopeChain() 117 if (Ctx && Ctx->isFileContext()) { in visitScopeChain() 924 assert(NS && NS->isFileContext() && "CppNamespaceLookup() requires namespace!"); in CppNamespaceLookup() 942 return Ctx->isFileContext(); in isNamespaceOrTranslationUnitScope() 1001 while (!Semantic->isFileContext()) in findOuterContext() 1008 if (Lexical->isFileContext() && !Lexical->Equals(Semantic) && in findOuterContext() 1182 if (Ctx->isFileContext()) { in CppLookupName() 1302 assert(Ctx->isFileContext() && in CppLookupName() 1424 if (Context->isFileContext()) in getDefiningModule() 1496 if (Redecl->getLexicalDeclContext()->isFileContext()) { in hasVisibleMemberSpecialization() [all …]
|
D | SemaAccess.cpp | 117 } else if (DC->isFileContext()) { in EffectiveContext() 268 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo() 341 if (Friend->isFileContext()) in MightInstantiateTo()
|
D | SemaLambda.cpp | 248 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in createLambdaClosureType() 266 while (!DC->isFileContext()) { in isInInlineFunction()
|
D | SemaTemplateInstantiate.cpp | 110 while (!Ctx->isFileContext()) { in getTemplateInstantiationArgs() 161 Function->getDeclContext()->isFileContext() && in getTemplateInstantiationArgs() 162 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) { in getTemplateInstantiationArgs()
|
D | SemaCXXScopeSpec.cpp | 1038 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
|
D | SemaDecl.cpp | 4793 Dcl && Dcl->getDeclContext()->isFileContext()) in ActOnDeclarator() 5104 if (!DC->getRedeclContext()->isFileContext()) { in HandleDeclarator() 5772 if (DC->isFileContext()) in shouldConsiderLinkage() 5781 if (DC->isFileContext() || DC->isFunctionOrMethod() || in shouldConsiderLinkage() 5833 while (!DC->isFileContext() && !isa<LinkageSpecDecl>(DC)) in adjustContextForLocalExternDecl() 6519 return OldDC->isFileContext() ? SDK_Global : SDK_Local; in computeShadowedDeclKind() 10330 var->getDeclContext()->getRedeclContext()->isFileContext() && in CheckCompleteVariableDeclaration() 10625 if (DC->getRedeclContext()->isFileContext() && VD->isExternallyVisible()) in FinalizeDeclaration() 12229 while (!DC->isFileContext() && !DC->isFunctionOrMethod()) in getTagInjectionContext() 12472 if (DC->isFileContext() && in ActOnTag() [all …]
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 894 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent() 923 if (isFileContext()) in isDependentContext() 1545 while (!Ctx->isFileContext()) in getEnclosingNamespaceContext() 1563 if (!isFileContext()) in InEnclosingNamespaceSetOf()
|
D | CXXInheritance.cpp | 130 for (; !CurContext->isFileContext(); CurContext = CurContext->getParent()) in isCurrentInstantiation()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaLookup.cpp | 109 assert(InnermostFileDC && InnermostFileDC->isFileContext()); in visitScopeChain() 116 if (Ctx && Ctx->isFileContext()) { in visitScopeChain() 1151 assert(NS && NS->isFileContext() && "CppNamespaceLookup() requires namespace!"); in CppNamespaceLookup() 1169 return Ctx->isFileContext(); in isNamespaceOrTranslationUnitScope() 1334 if (Ctx->isFileContext()) { in CppLookupName() 1438 assert(Ctx->isFileContext() && in CppLookupName() 1498 if (Context->isFileContext()) in getDefiningModule() 1625 return D->getLexicalDeclContext()->isFileContext(); in hasVisibleMemberSpecialization() 1652 return DC->isFileContext() || isa<LinkageSpecDecl>(DC) || in isVisibleSlow() 2011 assert(StartDC->isFileContext() && "start context is not a file context"); in LookupQualifiedNameInUsingDirectives() [all …]
|
D | SemaAccess.cpp | 117 } else if (DC->isFileContext()) { in EffectiveContext() 267 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo() 340 if (Friend->isFileContext()) in MightInstantiateTo()
|
D | SemaModule.cpp | 674 if (DC->getRedeclContext()->isFileContext() && !isa<EnumDecl>(D)) in checkExportedDecl()
|
D | SemaCXXScopeSpec.cpp | 1050 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
|
D | SemaLambda.cpp | 246 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in createLambdaClosureType() 264 while (!DC->isFileContext()) { in isInInlineFunction()
|
D | SemaTemplateInstantiate.cpp | 119 while (!Ctx->isFileContext()) { in getTemplateInstantiationArgs() 175 Function->getDeclContext()->isFileContext() && in getTemplateInstantiationArgs() 176 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) { in getTemplateInstantiationArgs()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | AddUsing.cpp | 180 while (ParentDeclCtx && !ParentDeclCtx->isFileContext()) { in findInsertionPoint()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Quality.cpp | 276 for (; !DC->isFileContext(); DC = DC->getParent()) { in computeScope()
|
/external/llvm-project/clang-tools-extra/modularize/ |
D | Modularize.cpp | 612 if (!ND->getDeclContext()->isFileContext()) in VisitNamedDecl()
|