Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp667 NamedDecl *OuterDecl; in BuildCXXNestedNameSpecifier() local
672 OuterDecl = FoundOuter.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()
674 OuterDecl = ScopeLookupResult; in BuildCXXNestedNameSpecifier()
676 if (isAcceptableNestedNameSpecifier(OuterDecl) && in BuildCXXNestedNameSpecifier()
677 OuterDecl->getCanonicalDecl() != SD->getCanonicalDecl() && in BuildCXXNestedNameSpecifier()
678 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier()
680 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier()
690 Diag(OuterDecl->getLocation(), diag::note_ambig_member_ref_scope); in BuildCXXNestedNameSpecifier()