Searched refs:OuterDecl (Results 1 – 2 of 2) sorted by relevance
686 NamedDecl *OuterDecl; in BuildCXXNestedNameSpecifier() local691 OuterDecl = FoundOuter.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()693 OuterDecl = ScopeLookupResult; in BuildCXXNestedNameSpecifier()695 if (isAcceptableNestedNameSpecifier(OuterDecl) && in BuildCXXNestedNameSpecifier()696 OuterDecl->getCanonicalDecl() != SD->getCanonicalDecl() && in BuildCXXNestedNameSpecifier()697 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier()699 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier()709 Diag(OuterDecl->getLocation(), diag::note_ambig_member_ref_scope); in BuildCXXNestedNameSpecifier()
2375 Decl *OuterDecl = nullptr; in ParseDeclarationAfterDeclaratorAndAttributes() local2390 OuterDecl = VT; in ParseDeclarationAfterDeclaratorAndAttributes()2571 return OuterDecl ? OuterDecl : ThisDecl; in ParseDeclarationAfterDeclaratorAndAttributes()