Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp597 NamedDecl *OuterDecl; in BuildCXXNestedNameSpecifier() local
602 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()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp2707 Decl *OuterDecl = nullptr; in ParseDeclarationAfterDeclaratorAndAttributes() local
2722 OuterDecl = VT; in ParseDeclarationAfterDeclaratorAndAttributes()
2906 return OuterDecl ? OuterDecl : ThisDecl; in ParseDeclarationAfterDeclaratorAndAttributes()