Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp672 NamedDecl *OuterDecl; in BuildCXXNestedNameSpecifier() local
677 OuterDecl = FoundOuter.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()
679 OuterDecl = ScopeLookupResult; in BuildCXXNestedNameSpecifier()
681 if (isAcceptableNestedNameSpecifier(OuterDecl) && in BuildCXXNestedNameSpecifier()
682 OuterDecl->getCanonicalDecl() != SD->getCanonicalDecl() && in BuildCXXNestedNameSpecifier()
683 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier()
685 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier()
695 Diag(OuterDecl->getLocation(), diag::note_ambig_member_ref_scope); in BuildCXXNestedNameSpecifier()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDecl.cpp2260 Decl *OuterDecl = nullptr; in ParseDeclarationAfterDeclaratorAndAttributes() local
2275 OuterDecl = VT; in ParseDeclarationAfterDeclaratorAndAttributes()
2459 return OuterDecl ? OuterDecl : ThisDecl; in ParseDeclarationAfterDeclaratorAndAttributes()