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

Declarations

tools/clang/include/clang/AST/DeclBase.h
 1909   bool Encloses(const DeclContext *DC) const;

References

tools/clang/lib/AST/DeclBase.cpp
 1161     return getPrimaryContext()->Encloses(DC);
tools/clang/lib/Sema/Sema.cpp
 1806       !CurBSI->TheDecl->Encloses(CurContext)) {
 1830       if (LSI->Lambda && !LSI->Lambda->Encloses(CurContext)) {
 1857       !CurLSI->Lambda->Encloses(CurContext)) {
tools/clang/lib/Sema/SemaCodeComplete.cpp
  670        CommonAncestor && !CommonAncestor->Encloses(CurContext);
tools/clang/lib/Sema/SemaDecl.cpp
 1472       } else if (IDC->Encloses(CurContext))
 5462   if (!Cur->Encloses(DC) && !IsTemplateId) {
 7298       if (RD->isLambda() && OldDC->Encloses(NewDC->getLexicalParent())) {
14681       (OldDC->Encloses(NewDC) || NewDC->Encloses(OldDC)))
14681       (OldDC->Encloses(NewDC) || NewDC->Encloses(OldDC)))
14961             !EnclosingNS->Encloses(ND->getDeclContext())) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9890     while (CommonAncestor && !CommonAncestor->Encloses(CurContext))
tools/clang/lib/Sema/SemaExpr.cpp
16836                   !LSI->CallOperator->Encloses(Var->getDeclContext()))) {
tools/clang/lib/Sema/SemaExprMember.cpp
  220            !RepClass->Equals(ContextClass) && RepClass->Encloses(ContextClass))
tools/clang/lib/Sema/SemaLookup.cpp
  184       while (!Common->Encloses(EffectiveDC))
 1189       Lexical->Encloses(Semantic))
tools/clang/lib/Sema/SemaOpenMP.cpp
 2340        !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) {
 3617             if (!VDC->Encloses(CurContext))
tools/clang/lib/Sema/SemaOverload.cpp
12146           if (Std && Std->Encloses(*it))
tools/clang/lib/Sema/SemaTemplate.cpp
 1473            OutermostContext->Encloses(PrevDecl->getDeclContext()))) {
 7504   if (!(DC->isFileContext() ? DC->Encloses(SpecializedContext)
 8849     if (CurContext->Encloses(OrigContext))