reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/AST/Decl.h
 1214     if (getLexicalDeclContext()->getRedeclContext()->isFileContext())
tools/clang/lib/ARCMigrate/TransGCCalls.cpp
   48         if (!FD->getDeclContext()->getRedeclContext()->isFileContext())
tools/clang/lib/ARCMigrate/Transforms.cpp
  199     return DRE->getDecl()->getDeclContext()->isFileContext() &&
tools/clang/lib/AST/ASTContext.cpp
 6307     if (D->getLexicalDeclContext()->isFileContext() &&
tools/clang/lib/AST/CXXInheritance.cpp
  143   for (; !CurContext->isFileContext(); CurContext = CurContext->getParent())
tools/clang/lib/AST/Decl.cpp
  629   assert(D->getDeclContext()->getRedeclContext()->isFileContext() &&
 1420   if (D->getDeclContext()->getRedeclContext()->isFileContext())
tools/clang/lib/AST/DeclBase.cpp
 1043     if (getParent()->getRedeclContext()->isFileContext() &&
 1090   if (isFileContext())
 1765   while (!Ctx->isFileContext())
 1783   if (!isFileContext())
tools/clang/lib/AST/Expr.cpp
  701     if (DC->isFileContext())
tools/clang/lib/AST/ItaniumMangle.cpp
 1297           getEffectiveDeclContext(ND)->isFileContext() &&
tools/clang/lib/AST/ODRHash.cpp
  525         if (DC->getLexicalParent()->isFileContext()) return;
tools/clang/lib/Frontend/ASTUnit.cpp
 2424   if (!D->getLexicalDeclContext()->isFileContext())
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 5244     block->getDeclContext()->getRedeclContext()->isFileContext();
tools/clang/lib/Parse/ParseExpr.cpp
 2431         assert(CodeDC && !CodeDC->isFileContext() &&
tools/clang/lib/Sema/SemaAccess.cpp
  117       } else if (DC->isFileContext()) {
  267   if (FromDC->isFileContext() || ToDC->isFileContext()) return false;
  267   if (FromDC->isFileContext() || ToDC->isFileContext()) return false;
  340   if (Friend->isFileContext())
tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
 1050     return CurContext->getRedeclContext()->isFileContext();
tools/clang/lib/Sema/SemaCodeComplete.cpp
 3904     if (S.CurContext->isFileContext())
 5479   if (Ctx && Ctx->isFileContext() && !SuppressedGlobalResults) {
 5716   return DC->isFileContext();
tools/clang/lib/Sema/SemaDecl.cpp
 5384       Dcl && Dcl->getDeclContext()->isFileContext())
 6410   if (DC->isFileContext())
 6419   if (DC->isFileContext() || DC->isFunctionOrMethod() ||
 6463   while (!DC->isFileContext() && !isa<LinkageSpecDecl>(DC))
 7194   return OldDC->isFileContext() ? SDK_Global : SDK_Local;
 8545   while (!DC->isFileContext() && !DC->isFunctionOrMethod())
 9651   if (D->getFriendObjectKind() && D->getDeclContext()->isFileContext())
12381       var->getDeclContext()->getRedeclContext()->isFileContext() &&
12755   if (DC->getRedeclContext()->isFileContext() && VD->isExternallyVisible())
14960         if (DC->isFileContext() &&
15725       Tag->getDeclContext()->isFileContext())
tools/clang/lib/Sema/SemaDeclAttr.cpp
 1757   if (!Ctx->isFileContext()) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
14964         if (LookupDC->isFileContext()) break;
15003       if (DC->isFileContext())
tools/clang/lib/Sema/SemaDeclObjC.cpp
 2100     if (Dcl->getDeclContext()->isFileContext())
tools/clang/lib/Sema/SemaExprCXX.cpp
  191     if (DC && DC->isFileContext()) {
tools/clang/lib/Sema/SemaLambda.cpp
  246   while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext()))
  264   while (!DC->isFileContext()) {
tools/clang/lib/Sema/SemaLookup.cpp
  109       assert(InnermostFileDC && InnermostFileDC->isFileContext());
  116         if (Ctx && Ctx->isFileContext()) {
 1104   assert(NS && NS->isFileContext() && "CppNamespaceLookup() requires namespace!");
 1122     return Ctx->isFileContext();
 1181   while (!Semantic->isFileContext())
 1188   if (Lexical->isFileContext() && !Lexical->Equals(Semantic) &&
 1363         if (Ctx->isFileContext()) {
 1483           assert(Ctx->isFileContext() &&
 1543   if (Context->isFileContext())
 1668     return D->getLexicalDeclContext()->isFileContext();
 1694     return DC->isFileContext() || isa<LinkageSpecDecl>(DC) ||
 2053   assert(StartDC->isFileContext() && "start context is not a file context");
 2239   if (LookupCtx->isFileContext())
 2658   while (!Ctx->isFileContext() || Ctx->isInlineNamespace())
tools/clang/lib/Sema/SemaModule.cpp
  676     if (DC->getRedeclContext()->isFileContext() && !isa<EnumDecl>(D))
tools/clang/lib/Sema/SemaOpenMP.cpp
 2339       (!getCurLexicalContext()->isFileContext() ||
 2668   if (!CurContext->isFileContext()) {
16154   if (!CurLexicalContext->isFileContext() &&
tools/clang/lib/Sema/SemaStmt.cpp
 4255   while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext()))
tools/clang/lib/Sema/SemaTemplate.cpp
 1468       while (!OutermostContext->isFileContext())
 3317         if (Ctx->isFileContext()) break;
 7398     if (Ctx->isFileContext())
 7504   if (!(DC->isFileContext() ? DC->Encloses(SpecializedContext)
 8054   if (!DC->getRedeclContext()->isFileContext()) {
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
  116   while (!Ctx->isFileContext()) {
  167           Function->getDeclContext()->isFileContext() &&
  168           (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 1863     assert(D->getDeclContext()->isFileContext());
 5411     while (!DC->isFileContext()) {
 5434         if (FD->getFriendObjectKind() && FD->getDeclContext()->isFileContext()){
tools/clang/lib/Sema/SemaType.cpp
 3769     if (ctx->isFileContext())
tools/clang/lib/Serialization/ASTReader.cpp
10038           } else if (FD->getLexicalParent()->isFileContext() &&
10039                      NonConstDefn->getLexicalParent()->isFileContext()) {
tools/clang/lib/Serialization/ASTWriter.cpp
 5728   if (!D->getLexicalDeclContext()->isFileContext())
tools/clang/tools/extra/clangd/Quality.cpp
  271   for (; !DC->isFileContext(); DC = DC->getParent()) {
tools/clang/tools/extra/modularize/Modularize.cpp
  614     if (!ND->getDeclContext()->isFileContext())