Searched refs:isFileContext (Results 1 – 25 of 27) 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()762 assert(NS && NS->isFileContext() && "CppNamespaceLookup() requires namespace!"); in CppNamespaceLookup()783 return Ctx->isFileContext(); in isNamespaceOrTranslationUnitScope()842 while (!Semantic->isFileContext()) in findOuterContext()849 if (Lexical->isFileContext() && !Lexical->Equals(Semantic) && in findOuterContext()1020 if (Ctx->isFileContext()) { in CppLookupName()1140 assert(Ctx->isFileContext() && in CppLookupName()1206 if (Context->isFileContext()) in getDefiningModule()1452 assert(StartDC->isFileContext() && "start context is not a file context"); in LookupQualifiedNameInUsingDirectives()[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()
943 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
4244 Dcl && Dcl->getDeclContext()->isFileContext()) in ActOnDeclarator()5134 if (DC->isFileContext()) in shouldConsiderLinkage()5143 if (DC->isFileContext() || DC->isFunctionOrMethod()) in shouldConsiderLinkage()5194 while (!DC->isFileContext() && !isa<LinkageSpecDecl>(DC)) in adjustContextForLocalExternDecl()5801 } else if (OldDC->isFileContext()) in CheckShadow()9070 var->getDeclContext()->getRedeclContext()->isFileContext() && in CheckCompleteVariableDeclaration()9276 if (DC->getRedeclContext()->isFileContext() && VD->isExternallyVisible()) in FinalizeDeclaration()10923 if (DC->isFileContext() && in ActOnTag()11005 while (!SearchDC->isFileContext() && !SearchDC->isFunctionOrMethod()) in ActOnTag()11589 Tag->getDeclContext()->isFileContext()) in ActOnTagFinishDefinition()
1302 assert(D->getDeclContext()->isFileContext()); in VisitFunctionDecl()4478 while (!DC->isFileContext()) { in FindInstantiatedDecl()4501 if (FD->getFriendObjectKind() && FD->getDeclContext()->isFileContext()){ in FindInstantiatedDecl()
936 while (!OutermostContext->isFileContext()) in CheckClassTemplate()2088 if (Ctx->isFileContext()) break; in CheckTemplateIdType()5582 if (Ctx->isFileContext()) in CheckTemplateDeclScope()
3050 if (S.CurContext->isFileContext()) in mapCodeCompletionContext()4127 if (Ctx && Ctx->isFileContext() && !SuppressedGlobalResults) { in CodeCompleteNamespaceDecl()4320 return DC->isFileContext(); in isNamespaceScope()
1140 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation()
3318 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in CreateCapturedStmtRecordDecl()
644 (!getCurLexicalContext()->isFileContext() || in ActOnOpenMPIdExpression()
1331 if (!Ctx->isFileContext()) { in handleWeakRefAttr()
137 if (DC && DC->isFileContext()) { in getDestructorName()
11959 if (LookupDC->isFileContext()) break; in ActOnFriendFunctionDecl()12013 if (DC->isFileContext()) in ActOnFriendFunctionDecl()
790 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()819 if (isFileContext()) in isDependentContext()1428 while (!Ctx->isFileContext()) in getEnclosingNamespaceContext()1435 if (!isFileContext()) in InEnclosingNamespaceSetOf()
125 for (; !CurContext->isFileContext(); CurContext = CurContext->getParent()) in isCurrentInstantiation()
568 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()1250 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()1946 if (RD->getLexicalDeclContext()->isFileContext()) in getOutOfLineDefinition()
1083 getEffectiveDeclContext(ND)->isFileContext()) in mangleUnqualifiedName()
1145 bool isFileContext() const { in isFileContext() function
975 if (getLexicalDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
2604 if (!D->getLexicalDeclContext()->isFileContext()) in addFileLevelDecl()
4897 if (!D->getLexicalDeclContext()->isFileContext()) in associateDeclWithFile()