Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp662 NamedDecl *OuterDecl; in BuildCXXNestedNameSpecifier() local
667 OuterDecl = FoundOuter.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()
669 OuterDecl = ScopeLookupResult; in BuildCXXNestedNameSpecifier()
671 if (isAcceptableNestedNameSpecifier(OuterDecl) && in BuildCXXNestedNameSpecifier()
672 OuterDecl->getCanonicalDecl() != SD->getCanonicalDecl() && in BuildCXXNestedNameSpecifier()
673 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier()
675 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier()
685 Diag(OuterDecl->getLocation(), diag::note_ambig_member_ref_scope); in BuildCXXNestedNameSpecifier()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp2514 Decl *OuterDecl = nullptr; in ParseDeclarationAfterDeclaratorAndAttributes() local
2529 OuterDecl = VT; in ParseDeclarationAfterDeclaratorAndAttributes()
2715 return OuterDecl ? OuterDecl : ThisDecl; in ParseDeclarationAfterDeclaratorAndAttributes()