Searched refs:isFileContext (Results 1 – 24 of 24) sorted by relevance
55 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
139 return DRE->getDecl()->getDeclContext()->isFileContext() && in isGlobalVar()
723 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()736 if (isFileContext()) in isDependentContext()1243 while (!Ctx->isFileContext()) in getEnclosingNamespaceContext()1250 if (!isFileContext()) in InEnclosingNamespaceSetOf()
198 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()755 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in getLVForDecl()1342 if (RD->getLexicalDeclContext()->isFileContext()) in getOutOfLineDefinition()
1067 getEffectiveDeclContext(ND)->isFileContext()) in mangleUnqualifiedName()
107 assert(InnermostFileDC && InnermostFileDC->isFileContext()); in visitScopeChain()114 if (Ctx && Ctx->isFileContext()) { in visitScopeChain()746 assert(NS && NS->isFileContext() && "CppNamespaceLookup() requires namespace!"); in CppNamespaceLookup()767 return Ctx->isFileContext(); in isNamespaceOrTranslationUnitScope()826 while (!Semantic->isFileContext()) in findOuterContext()833 if (Lexical->isFileContext() && !Lexical->Equals(Semantic) && in findOuterContext()1033 assert(Ctx->isFileContext() && in CppLookupName()1258 assert(StartDC->isFileContext() && "start context is not a file context"); in LookupQualifiedNameInUsingDirectives()1441 if (LookupCtx->isFileContext()) in LookupQualifiedName()1769 if (Ctx->isFileContext()) in CollectEnclosingNamespace()
112 } else if (DC->isFileContext()) { in EffectiveContext()246 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()321 if (Friend->isFileContext()) in MightInstantiateTo()
43 for (; !CurContext->isFileContext(); CurContext = CurContext->getParent()) in getCurrentInstantiationOf()906 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
27 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in createLambdaClosureType()42 while (!DC->isFileContext()) { in isInInlineFunction()
81 while (!Ctx->isFileContext()) { in getTemplateInstantiationArgs()129 Function->getDeclContext()->isFileContext() && in getTemplateInstantiationArgs()130 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) { in getTemplateInstantiationArgs()
1084 assert(D->getDeclContext()->isFileContext()); in VisitFunctionDecl()3292 while (!DC->isFileContext()) { in FindInstantiatedDecl()3316 if (FD->getFriendObjectKind() && FD->getDeclContext()->isFileContext()){ in FindInstantiatedDecl()
938 while (!OutermostContext->isFileContext()) in CheckClassTemplate()2010 if (Ctx->isFileContext()) break; in CheckTemplateIdType()4772 if (Ctx && (Ctx->isFileContext() || Ctx->isRecord())) in CheckTemplateDeclScope()
2935 if (S.CurContext->isFileContext()) in mapCodeCompletionContext()4030 if (Ctx && Ctx->isFileContext() && !SuppressedGlobalResults) { in CodeCompleteNamespaceDecl()4227 return DC->isFileContext(); in isNamespaceScope()
1005 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation()
3228 Dcl->getDeclContext()->isFileContext()) in ActOnDeclarator()4276 } else if (OldDC->isFileContext()) in CheckShadow()8207 while (!SearchDC->isFileContext() && !SearchDC->isFunctionOrMethod()) in ActOnTag()
1149 if (!Ctx->isFileContext()) { in handleWeakRefAttr()
102 if (DC && DC->isFileContext()) { in getDestructorName()
10256 if (DC->isFileContext()) break; in ActOnFriendFunctionDecl()10329 if (DC->isFileContext()) in ActOnFriendFunctionDecl()
1050 bool isFileContext() const { in isFileContext() function
1004 if (getDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
2565 if (!D->getLexicalDeclContext()->isFileContext()) in addFileLevelDecl()
1775 if (!DC->isFileContext()) in findExisting()
3871 if (!D->getLexicalDeclContext()->isFileContext()) in associateDeclWithFile()
4980 block->getDeclContext()->getRedeclContext()->isFileContext(); in SynthBlockInitExpr()