Searched refs:OuterDecl (Results 1 – 3 of 3) sorted by relevance
592 NamedDecl *OuterDecl; in BuildCXXNestedNameSpecifier() local597 OuterDecl = FoundOuter.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()599 OuterDecl = ScopeLookupResult; in BuildCXXNestedNameSpecifier()601 if (isAcceptableNestedNameSpecifier(OuterDecl) && in BuildCXXNestedNameSpecifier()602 OuterDecl->getCanonicalDecl() != SD->getCanonicalDecl() && in BuildCXXNestedNameSpecifier()603 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier()605 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier()615 Diag(OuterDecl->getLocation(), diag::note_ambig_member_ref_scope); in BuildCXXNestedNameSpecifier()
139 if (auto *OuterDecl = NsDecl->getParent(); in checkASTDecl() local140 OuterDecl && isa<NamespaceDecl>(OuterDecl) && in checkASTDecl()141 safeGetName(OuterDecl) == "std") in checkASTDecl()
2520 Decl *OuterDecl = nullptr; in ParseDeclarationAfterDeclaratorAndAttributes() local2535 OuterDecl = VT; in ParseDeclarationAfterDeclaratorAndAttributes()2720 return OuterDecl ? OuterDecl : ThisDecl; in ParseDeclarationAfterDeclaratorAndAttributes()