Lines Matching refs:isFileContext
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()
1458 assert(StartDC->isFileContext() && "start context is not a file context"); in LookupQualifiedNameInUsingDirectives()
1638 if (LookupCtx->isFileContext()) in LookupQualifiedName()
2001 if (Ctx->isFileContext()) in CollectEnclosingNamespace()