Home
last modified time | relevance | path

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

12

/external/clang/lib/ARCMigrate/
DTransGCCalls.cpp49 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
DTransforms.cpp206 return DRE->getDecl()->getDeclContext()->isFileContext() && in isGlobalVar()
/external/clang/lib/Sema/
DSemaLookup.cpp107 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 …]
DSemaAccess.cpp117 } else if (DC->isFileContext()) { in EffectiveContext()
263 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()
335 if (Friend->isFileContext()) in MightInstantiateTo()
DSemaLambda.cpp247 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in createLambdaClosureType()
265 while (!DC->isFileContext()) { in isInInlineFunction()
DSemaTemplateInstantiate.cpp109 while (!Ctx->isFileContext()) { in getTemplateInstantiationArgs()
160 Function->getDeclContext()->isFileContext() && in getTemplateInstantiationArgs()
161 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) { in getTemplateInstantiationArgs()
DSemaCXXScopeSpec.cpp1005 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
DSemaDecl.cpp4488 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()
DSemaTemplateInstantiateDecl.cpp1390 assert(D->getDeclContext()->isFileContext()); in VisitFunctionDecl()
4446 while (!DC->isFileContext()) { in FindInstantiatedDecl()
4469 if (FD->getFriendObjectKind() && FD->getDeclContext()->isFileContext()){ in FindInstantiatedDecl()
DSemaTemplate.cpp935 while (!OutermostContext->isFileContext()) in CheckClassTemplate()
2106 if (Ctx->isFileContext()) break; in CheckTemplateIdType()
5703 if (Ctx->isFileContext()) in CheckTemplateDeclScope()
DSemaCodeComplete.cpp3097 if (S.CurContext->isFileContext()) in mapCodeCompletionContext()
4269 if (Ctx && Ctx->isFileContext() && !SuppressedGlobalResults) { in CodeCompleteNamespaceDecl()
4465 return DC->isFileContext(); in isNamespaceScope()
DSemaDeclObjC.cpp1134 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation()
DSemaStmt.cpp3711 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in CreateCapturedStmtRecordDecl()
DSemaDeclCXX.cpp12561 if (LookupDC->isFileContext()) break; in ActOnFriendFunctionDecl()
12615 if (DC->isFileContext()) in ActOnFriendFunctionDecl()
DSemaExprCXX.cpp142 if (DC && DC->isFileContext()) { in getDestructorName()
DSemaOpenMP.cpp740 (!getCurLexicalContext()->isFileContext() || in ActOnOpenMPIdExpression()
DSemaDeclAttr.cpp1447 if (!Ctx->isFileContext()) { in handleWeakRefAttr()
/external/clang/lib/AST/
DDeclBase.cpp811 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()
840 if (isFileContext()) in isDependentContext()
1465 while (!Ctx->isFileContext()) in getEnclosingNamespaceContext()
1483 if (!isFileContext()) in InEnclosingNamespaceSetOf()
DCXXInheritance.cpp125 for (; !CurContext->isFileContext(); CurContext = CurContext->getParent()) in isCurrentInstantiation()
DDecl.cpp574 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
1274 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()
2021 if (RD->getLexicalDeclContext()->isFileContext()) in getOutOfLineDefinition()
DItaniumMangle.cpp942 getEffectiveDeclContext(ND)->isFileContext()) in mangleUnqualifiedName()
DExpr.cpp508 if (DC->isFileContext()) in ComputeName()
/external/clang/include/clang/AST/
DDeclBase.h1217 bool isFileContext() const { in isFileContext() function
DDecl.h1035 if (getLexicalDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
/external/clang/lib/Frontend/
DASTUnit.cpp2551 if (!D->getLexicalDeclContext()->isFileContext()) in addFileLevelDecl()

12