reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
tools/clang/lib/AST/DeclBase.cpp
 1780 
 1781 bool DeclContext::InEnclosingNamespaceSetOf(const DeclContext *O) const {
 1782   // For non-file contexts, this is equivalent to Equals.
tools/clang/include/clang/AST/DeclBase.h
 1955   /// inline, its enclosing namespace, recursively.
 1956   bool InEnclosingNamespaceSetOf(const DeclContext *NS) const;
 1957 
tools/clang/lib/AST/DeclBase.cpp
 1780 
 1781 bool DeclContext::InEnclosingNamespaceSetOf(const DeclContext *O) const {
 1782   // For non-file contexts, this is equivalent to Equals.
tools/clang/lib/Sema/IdentifierResolver.cpp
  138   DeclContext *DCtx = D->getDeclContext()->getRedeclContext();
  139   return AllowInlineNamespace ? Ctx->InEnclosingNamespaceSetOf(DCtx)
  140                               : Ctx->Equals(DCtx);
tools/clang/lib/Sema/SemaDecl.cpp
 3126 
 3127   assert((NamedDC->InEnclosingNamespaceSetOf(SemaDC) ||
 3128           NewD->isInvalidDecl() || OldD->isInvalidDecl()) &&
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9680             &PP.getIdentifierTable().get("initializer_list") ||
 9681         !getStdNamespace()->InEnclosingNamespaceSetOf(
 9682             TemplateClass->getDeclContext()))
tools/clang/lib/Sema/SemaInit.cpp
  540            ND && !IsInStd; ND = dyn_cast<NamespaceDecl>(ND->getParent())) {
  541         if (SemaRef.getStdNamespace()->InEnclosingNamespaceSetOf(ND))
  542           IsInStd = true;
tools/clang/lib/Sema/SemaTemplate.cpp
 8346 
 8347     if (!FDLookupContext->InEnclosingNamespaceSetOf(
 8348             D->getDeclContext()->getRedeclContext())) {
tools/clang/lib/Sema/SemaTemplate.cpp
 8411       // FD.
 8412       if (!FDLookupContext->InEnclosingNamespaceSetOf(
 8413                                 Ovl->getDeclContext()->getRedeclContext()))
tools/clang/lib/Sema/SemaTemplate.cpp
 8851   } else {
 8852     if (CurContext->InEnclosingNamespaceSetOf(OrigContext))
 8853       return false;