Home
last modified time | relevance | path

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

/external/clang/lib/ARCMigrate/
DTransGCCalls.cpp55 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
DTransforms.cpp139 return DRE->getDecl()->getDeclContext()->isFileContext() && in isGlobalVar()
/external/clang/lib/AST/
DDeclBase.cpp723 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()
736 if (isFileContext()) in isDependentContext()
1243 while (!Ctx->isFileContext()) in getEnclosingNamespaceContext()
1250 if (!isFileContext()) in InEnclosingNamespaceSetOf()
DDecl.cpp198 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
755 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in getLVForDecl()
1342 if (RD->getLexicalDeclContext()->isFileContext()) in getOutOfLineDefinition()
DItaniumMangle.cpp1067 getEffectiveDeclContext(ND)->isFileContext()) in mangleUnqualifiedName()
/external/clang/lib/Sema/
DSemaLookup.cpp107 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()
DSemaAccess.cpp112 } else if (DC->isFileContext()) { in EffectiveContext()
246 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()
321 if (Friend->isFileContext()) in MightInstantiateTo()
DSemaCXXScopeSpec.cpp43 for (; !CurContext->isFileContext(); CurContext = CurContext->getParent()) in getCurrentInstantiationOf()
906 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
DSemaLambda.cpp27 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in createLambdaClosureType()
42 while (!DC->isFileContext()) { in isInInlineFunction()
DSemaTemplateInstantiate.cpp81 while (!Ctx->isFileContext()) { in getTemplateInstantiationArgs()
129 Function->getDeclContext()->isFileContext() && in getTemplateInstantiationArgs()
130 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) { in getTemplateInstantiationArgs()
DSemaTemplateInstantiateDecl.cpp1084 assert(D->getDeclContext()->isFileContext()); in VisitFunctionDecl()
3292 while (!DC->isFileContext()) { in FindInstantiatedDecl()
3316 if (FD->getFriendObjectKind() && FD->getDeclContext()->isFileContext()){ in FindInstantiatedDecl()
DSemaTemplate.cpp938 while (!OutermostContext->isFileContext()) in CheckClassTemplate()
2010 if (Ctx->isFileContext()) break; in CheckTemplateIdType()
4772 if (Ctx && (Ctx->isFileContext() || Ctx->isRecord())) in CheckTemplateDeclScope()
DSemaCodeComplete.cpp2935 if (S.CurContext->isFileContext()) in mapCodeCompletionContext()
4030 if (Ctx && Ctx->isFileContext() && !SuppressedGlobalResults) { in CodeCompleteNamespaceDecl()
4227 return DC->isFileContext(); in isNamespaceScope()
DSemaDeclObjC.cpp1005 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation()
DSemaDecl.cpp3228 Dcl->getDeclContext()->isFileContext()) in ActOnDeclarator()
4276 } else if (OldDC->isFileContext()) in CheckShadow()
8207 while (!SearchDC->isFileContext() && !SearchDC->isFunctionOrMethod()) in ActOnTag()
DSemaDeclAttr.cpp1149 if (!Ctx->isFileContext()) { in handleWeakRefAttr()
DSemaExprCXX.cpp102 if (DC && DC->isFileContext()) { in getDestructorName()
DSemaDeclCXX.cpp10256 if (DC->isFileContext()) break; in ActOnFriendFunctionDecl()
10329 if (DC->isFileContext()) in ActOnFriendFunctionDecl()
/external/clang/include/clang/AST/
DDeclBase.h1050 bool isFileContext() const { in isFileContext() function
DDecl.h1004 if (getDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
/external/clang/lib/Frontend/
DASTUnit.cpp2565 if (!D->getLexicalDeclContext()->isFileContext()) in addFileLevelDecl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1775 if (!DC->isFileContext()) in findExisting()
DASTWriter.cpp3871 if (!D->getLexicalDeclContext()->isFileContext()) in associateDeclWithFile()
/external/clang/lib/Rewrite/
DRewriteModernObjC.cpp4980 block->getDeclContext()->getRedeclContext()->isFileContext(); in SynthBlockInitExpr()