Home
last modified time | relevance | path

Searched refs:isFileContext (Results 1 – 25 of 28) sorted by relevance

12

/minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp49 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
H A DTransforms.cpp206 return DRE->getDecl()->getDeclContext()->isFileContext() && in isGlobalVar()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaLookup.cpp107 assert(InnermostFileDC && InnermostFileDC->isFileContext()); in visitScopeChain()
114 if (Ctx && Ctx->isFileContext()) { in visitScopeChain()
761 assert(NS && NS->isFileContext() && "CppNamespaceLookup() requires namespace!"); in CppNamespaceLookup()
782 return Ctx->isFileContext(); in isNamespaceOrTranslationUnitScope()
841 while (!Semantic->isFileContext()) in findOuterContext()
848 if (Lexical->isFileContext() && !Lexical->Equals(Semantic) && in findOuterContext()
1019 if (Ctx->isFileContext()) { in CppLookupName()
1139 assert(Ctx->isFileContext() && in CppLookupName()
1192 if (Context->isFileContext()) in getDefiningModule()
1438 assert(StartDC->isFileContext() && "start context is not a file context"); in LookupQualifiedNameInUsingDirectives()
[all …]
H A DSemaAccess.cpp117 } else if (DC->isFileContext()) { in EffectiveContext()
263 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()
335 if (Friend->isFileContext()) in MightInstantiateTo()
H A DSemaLambda.cpp247 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in createLambdaClosureType()
265 while (!DC->isFileContext()) { in isInInlineFunction()
H A DSemaCXXScopeSpec.cpp985 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
H A DSemaTemplateInstantiate.cpp109 while (!Ctx->isFileContext()) { in getTemplateInstantiationArgs()
160 Function->getDeclContext()->isFileContext() && in getTemplateInstantiationArgs()
161 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) { in getTemplateInstantiationArgs()
H A DSemaDecl.cpp4364 Dcl && Dcl->getDeclContext()->isFileContext()) in ActOnDeclarator()
5277 if (DC->isFileContext()) in shouldConsiderLinkage()
5286 if (DC->isFileContext() || DC->isFunctionOrMethod()) in shouldConsiderLinkage()
5337 while (!DC->isFileContext() && !isa<LinkageSpecDecl>(DC)) in adjustContextForLocalExternDecl()
5941 } else if (OldDC->isFileContext()) in CheckShadow()
9419 var->getDeclContext()->getRedeclContext()->isFileContext() && in CheckCompleteVariableDeclaration()
9643 if (DC->getRedeclContext()->isFileContext() && VD->isExternallyVisible()) in FinalizeDeclaration()
11356 if (DC->isFileContext() && in ActOnTag()
11448 while (!SearchDC->isFileContext() && !SearchDC->isFunctionOrMethod()) in ActOnTag()
12030 Tag->getDeclContext()->isFileContext()) in ActOnTagFinishDefinition()
H A DSemaTemplateInstantiateDecl.cpp1385 assert(D->getDeclContext()->isFileContext()); in VisitFunctionDecl()
4453 while (!DC->isFileContext()) { in FindInstantiatedDecl()
4476 if (FD->getFriendObjectKind() && FD->getDeclContext()->isFileContext()){ in FindInstantiatedDecl()
H A DSemaTemplate.cpp933 while (!OutermostContext->isFileContext()) in CheckClassTemplate()
2087 if (Ctx->isFileContext()) break; in CheckTemplateIdType()
5684 if (Ctx->isFileContext()) in CheckTemplateDeclScope()
H A DSemaCodeComplete.cpp3051 if (S.CurContext->isFileContext()) in mapCodeCompletionContext()
4128 if (Ctx && Ctx->isFileContext() && !SuppressedGlobalResults) { in CodeCompleteNamespaceDecl()
4324 return DC->isFileContext(); in isNamespaceScope()
H A DSemaStmt.cpp3422 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in CreateCapturedStmtRecordDecl()
H A DSemaDeclObjC.cpp1135 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation()
H A DSemaOpenMP.cpp737 (!getCurLexicalContext()->isFileContext() || in ActOnOpenMPIdExpression()
H A DSemaDeclCXX.cpp12451 if (LookupDC->isFileContext()) break; in ActOnFriendFunctionDecl()
12505 if (DC->isFileContext()) in ActOnFriendFunctionDecl()
H A DSemaExprCXX.cpp139 if (DC && DC->isFileContext()) { in getDestructorName()
H A DSemaDeclAttr.cpp1442 if (!Ctx->isFileContext()) { in handleWeakRefAttr()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclBase.cpp796 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()
825 if (isFileContext()) in isDependentContext()
1439 while (!Ctx->isFileContext()) in getEnclosingNamespaceContext()
1457 if (!isFileContext()) in InEnclosingNamespaceSetOf()
H A DCXXInheritance.cpp125 for (; !CurContext->isFileContext(); CurContext = CurContext->getParent()) in isCurrentInstantiation()
H A DDecl.cpp574 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
1274 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()
1970 if (RD->getLexicalDeclContext()->isFileContext()) in getOutOfLineDefinition()
H A DItaniumMangle.cpp1069 getEffectiveDeclContext(ND)->isFileContext()) in mangleUnqualifiedName()
H A DExpr.cpp508 if (DC->isFileContext()) in ComputeName()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDeclBase.h1150 bool isFileContext() const { in isFileContext() function
H A DDecl.h995 if (getLexicalDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/
H A DASTUnit.cpp2574 if (!D->getLexicalDeclContext()->isFileContext()) in addFileLevelDecl()

12