Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp686 NamedDecl *OuterDecl; in BuildCXXNestedNameSpecifier() local
691 OuterDecl = FoundOuter.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()
693 OuterDecl = ScopeLookupResult; in BuildCXXNestedNameSpecifier()
695 if (isAcceptableNestedNameSpecifier(OuterDecl) && in BuildCXXNestedNameSpecifier()
696 OuterDecl->getCanonicalDecl() != SD->getCanonicalDecl() && in BuildCXXNestedNameSpecifier()
697 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier()
699 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier()
709 Diag(OuterDecl->getLocation(), diag::note_ambig_member_ref_scope); in BuildCXXNestedNameSpecifier()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseDecl.cpp2375 Decl *OuterDecl = nullptr; in ParseDeclarationAfterDeclaratorAndAttributes() local
2390 OuterDecl = VT; in ParseDeclarationAfterDeclaratorAndAttributes()
2571 return OuterDecl ? OuterDecl : ThisDecl; in ParseDeclarationAfterDeclaratorAndAttributes()