Searched refs:isFileContext (Results 1 – 25 of 28) sorted by relevance
12
49 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
206 return DRE->getDecl()->getDeclContext()->isFileContext() && in isGlobalVar()
107 assert(InnermostFileDC && InnermostFileDC->isFileContext()); in visitScopeChain()114 if (Ctx && Ctx->isFileContext()) { in visitScopeChain()766 assert(NS && NS->isFileContext() && "CppNamespaceLookup() requires namespace!"); in CppNamespaceLookup()784 return Ctx->isFileContext(); in isNamespaceOrTranslationUnitScope()843 while (!Semantic->isFileContext()) in findOuterContext()850 if (Lexical->isFileContext() && !Lexical->Equals(Semantic) && in findOuterContext()1021 if (Ctx->isFileContext()) { in CppLookupName()1141 assert(Ctx->isFileContext() && in CppLookupName()1194 if (Context->isFileContext()) in getDefiningModule()1228 DC && !DC->isFileContext() && !isa<LinkageSpecDecl>(DC)) { in isVisibleSlow()[all …]
117 } else if (DC->isFileContext()) { in EffectiveContext()263 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()335 if (Friend->isFileContext()) in MightInstantiateTo()
247 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in createLambdaClosureType()265 while (!DC->isFileContext()) { in isInInlineFunction()
109 while (!Ctx->isFileContext()) { in getTemplateInstantiationArgs()160 Function->getDeclContext()->isFileContext() && in getTemplateInstantiationArgs()161 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) { in getTemplateInstantiationArgs()
1005 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
4488 Dcl && Dcl->getDeclContext()->isFileContext()) in ActOnDeclarator()5399 if (DC->isFileContext()) in shouldConsiderLinkage()5408 if (DC->isFileContext() || DC->isFunctionOrMethod()) in shouldConsiderLinkage()5459 while (!DC->isFileContext() && !isa<LinkageSpecDecl>(DC)) in adjustContextForLocalExternDecl()6064 } else if (OldDC->isFileContext()) in CheckShadow()9534 var->getDeclContext()->getRedeclContext()->isFileContext() && in CheckCompleteVariableDeclaration()9748 if (DC->getRedeclContext()->isFileContext() && VD->isExternallyVisible()) in FinalizeDeclaration()11476 if (DC->isFileContext() && in ActOnTag()11568 while (!SearchDC->isFileContext() && !SearchDC->isFunctionOrMethod()) in ActOnTag()12163 Tag->getDeclContext()->isFileContext()) in ActOnTagFinishDefinition()
1390 assert(D->getDeclContext()->isFileContext()); in VisitFunctionDecl()4446 while (!DC->isFileContext()) { in FindInstantiatedDecl()4469 if (FD->getFriendObjectKind() && FD->getDeclContext()->isFileContext()){ in FindInstantiatedDecl()
935 while (!OutermostContext->isFileContext()) in CheckClassTemplate()2106 if (Ctx->isFileContext()) break; in CheckTemplateIdType()5703 if (Ctx->isFileContext()) in CheckTemplateDeclScope()
3097 if (S.CurContext->isFileContext()) in mapCodeCompletionContext()4269 if (Ctx && Ctx->isFileContext() && !SuppressedGlobalResults) { in CodeCompleteNamespaceDecl()4465 return DC->isFileContext(); in isNamespaceScope()
1134 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation()
3711 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in CreateCapturedStmtRecordDecl()
12561 if (LookupDC->isFileContext()) break; in ActOnFriendFunctionDecl()12615 if (DC->isFileContext()) in ActOnFriendFunctionDecl()
142 if (DC && DC->isFileContext()) { in getDestructorName()
740 (!getCurLexicalContext()->isFileContext() || in ActOnOpenMPIdExpression()
1447 if (!Ctx->isFileContext()) { in handleWeakRefAttr()
811 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()840 if (isFileContext()) in isDependentContext()1465 while (!Ctx->isFileContext()) in getEnclosingNamespaceContext()1483 if (!isFileContext()) in InEnclosingNamespaceSetOf()
125 for (; !CurContext->isFileContext(); CurContext = CurContext->getParent()) in isCurrentInstantiation()
574 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()1274 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()2021 if (RD->getLexicalDeclContext()->isFileContext()) in getOutOfLineDefinition()
942 getEffectiveDeclContext(ND)->isFileContext()) in mangleUnqualifiedName()
508 if (DC->isFileContext()) in ComputeName()
1217 bool isFileContext() const { in isFileContext() function
1035 if (getLexicalDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
2551 if (!D->getLexicalDeclContext()->isFileContext()) in addFileLevelDecl()