Searched refs:OuterDecl (Results 1 – 2 of 2) sorted by relevance
597 NamedDecl *OuterDecl; in BuildCXXNestedNameSpecifier() local602 OuterDecl = FoundOuter.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()604 OuterDecl = ScopeLookupResult; in BuildCXXNestedNameSpecifier()606 if (isAcceptableNestedNameSpecifier(OuterDecl) && in BuildCXXNestedNameSpecifier()607 OuterDecl->getCanonicalDecl() != SD->getCanonicalDecl() && in BuildCXXNestedNameSpecifier()608 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier()610 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier()620 Diag(OuterDecl->getLocation(), diag::note_ambig_member_ref_scope); in BuildCXXNestedNameSpecifier()
2707 Decl *OuterDecl = nullptr; in ParseDeclarationAfterDeclaratorAndAttributes() local2722 OuterDecl = VT; in ParseDeclarationAfterDeclaratorAndAttributes()2906 return OuterDecl ? OuterDecl : ThisDecl; in ParseDeclarationAfterDeclaratorAndAttributes()