Searched refs:isFileContext (Results 1 - 17 of 17) sorted by relevance

/external/clang/lib/ARCMigrate/
H A DTransforms.cpp169 return DRE->getDecl()->getDeclContext()->isFileContext() &&
/external/clang/lib/AST/
H A DDeclBase.cpp688 if (getParent()->getRedeclContext()->isFileContext() &&
701 if (isFileContext())
1127 while (!Ctx->isFileContext())
1134 if (!isFileContext())
H A DDecl.cpp213 assert(D->getDeclContext()->getRedeclContext()->isFileContext() &&
740 if (D->getDeclContext()->getRedeclContext()->isFileContext())
1321 if (RD->getLexicalDeclContext()->isFileContext())
H A DItaniumMangle.cpp1000 ND->getDeclContext()->isFileContext())
/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp42 for (; !CurContext->isFileContext(); CurContext = CurContext->getParent())
848 return CurContext->getRedeclContext()->isFileContext();
H A DSemaAccess.cpp111 } else if (DC->isFileContext()) {
241 if (FromDC->isFileContext() || ToDC->isFileContext()) return false;
313 if (Friend->isFileContext())
H A DSemaLookup.cpp105 assert(InnermostFileDC && InnermostFileDC->isFileContext());
109 DeclContext *EffectiveDC = (Ctx->isFileContext() ? Ctx : InnermostFileDC);
738 assert(NS && NS->isFileContext() && "CppNamespaceLookup() requires namespace!");
759 return Ctx->isFileContext();
818 while (!Semantic->isFileContext())
825 if (Lexical->isFileContext() && !Lexical->Equals(Semantic) &&
1025 assert(Ctx->isFileContext() &&
1198 assert(StartDC->isFileContext() && "start context is not a file context");
1382 if (LookupCtx->isFileContext())
1710 if (Ctx->isFileContext())
[all...]
H A DSemaTemplateInstantiate.cpp81 while (!Ctx->isFileContext()) {
129 Function->getDeclContext()->isFileContext() &&
130 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) {
H A DSemaTemplate.cpp899 while (!OutermostContext->isFileContext())
1973 if (Ctx->isFileContext()) break;
4462 if (Ctx && (Ctx->isFileContext() || Ctx->isRecord()))
H A DSemaTemplateInstantiateDecl.cpp1081 assert(D->getDeclContext()->isFileContext());
3193 for (DeclContext *DC = CurContext; !DC->isFileContext();
H A DSemaCodeComplete.cpp2914 if (S.CurContext->isFileContext())
3959 if (Ctx && Ctx->isFileContext() && !SuppressedGlobalResults) {
H A DSemaExprCXX.cpp99 if (DC && DC->isFileContext()) {
H A DSemaDeclCXX.cpp10006 if (DC->isFileContext()) break;
10079 if (DC->isFileContext())
H A DSemaDeclAttr.cpp1139 if (!Ctx->isFileContext()) {
H A DSemaDecl.cpp4136 } else if (OldDC->isFileContext())
/external/clang/include/clang/AST/
H A DDeclBase.h924 bool isFileContext() const { function in class:clang::DeclContext
H A DDecl.h934 if (getDeclContext()->getRedeclContext()->isFileContext())

Completed in 3339 milliseconds