Searched refs:OuterDecl (Results 1 – 2 of 2) sorted by relevance
672 NamedDecl *OuterDecl; in BuildCXXNestedNameSpecifier() local677 OuterDecl = FoundOuter.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()679 OuterDecl = ScopeLookupResult; in BuildCXXNestedNameSpecifier()681 if (isAcceptableNestedNameSpecifier(OuterDecl) && in BuildCXXNestedNameSpecifier()682 OuterDecl->getCanonicalDecl() != SD->getCanonicalDecl() && in BuildCXXNestedNameSpecifier()683 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier()685 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier()695 Diag(OuterDecl->getLocation(), diag::note_ambig_member_ref_scope); in BuildCXXNestedNameSpecifier()
2260 Decl *OuterDecl = nullptr; in ParseDeclarationAfterDeclaratorAndAttributes() local2275 OuterDecl = VT; in ParseDeclarationAfterDeclaratorAndAttributes()2459 return OuterDecl ? OuterDecl : ThisDecl; in ParseDeclarationAfterDeclaratorAndAttributes()