Lines Matching refs:NamedDecl
101 LVForType = NamedDecl::VisibilityForType,
106 LVForValue = NamedDecl::VisibilityForValue,
143 static Optional<Visibility> getExplicitVisibility(const NamedDecl *D, in getExplicitVisibility()
147 return D->getExplicitVisibility((NamedDecl::ExplicitVisibilityKind) kind); in getExplicitVisibility()
152 static bool usesTypeVisibility(const NamedDecl *D) { in usesTypeVisibility()
194 static Optional<Visibility> getVisibilityOf(const NamedDecl *D, in getVisibilityOf()
195 NamedDecl::ExplicitVisibilityKind kind) { in getVisibilityOf()
198 if (kind == NamedDecl::VisibilityForType) { in getVisibilityOf()
291 static LinkageInfo getLVForDecl(const NamedDecl *D,
328 if (NamedDecl *ND = dyn_cast<NamedDecl>(arg.getAsDecl())) { in getLVForTemplateArgumentList()
401 static bool hasDirectVisibilityAttribute(const NamedDecl *D, in hasDirectVisibilityAttribute()
482 static bool useInlineVisibilityHidden(const NamedDecl *D) { in useInlineVisibilityHidden()
522 static LinkageInfo getLVForNamespaceScopeDecl(const NamedDecl *D, in getLVForNamespaceScopeDecl()
742 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), in getLVForNamespaceScopeDecl()
779 static LinkageInfo getLVForClassMember(const NamedDecl *D, in getLVForClassMember()
828 const NamedDecl *explicitSpecSuppressor = 0; in getLVForClassMember()
927 void NamedDecl::anchor() { } in anchor()
929 static LinkageInfo computeLVForDecl(const NamedDecl *D,
932 bool NamedDecl::isLinkageValid() const { in isLinkageValid()
940 Linkage NamedDecl::getLinkageInternal() const { in getLinkageInternal()
946 LinkageInfo NamedDecl::getLinkageAndVisibility() const { in getLinkageAndVisibility()
953 getExplicitVisibilityAux(const NamedDecl *ND, in getExplicitVisibilityAux()
954 NamedDecl::ExplicitVisibilityKind kind, in getExplicitVisibilityAux()
980 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux()
1020 NamedDecl::getExplicitVisibility(ExplicitVisibilityKind kind) const { in getExplicitVisibility()
1031 return getLVForDecl(cast<NamedDecl>(ContextDecl), computation); in getLVForClosure()
1034 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) in getLVForClosure()
1040 static LinkageInfo getLVForLocalDecl(const NamedDecl *D, in getLVForLocalDecl()
1134 static LinkageInfo computeLVForDecl(const NamedDecl *D, in computeLVForDecl()
1224 static LinkageInfo getLVForDecl(const NamedDecl *D, in getLVForDecl()
1247 NamedDecl *Old = NULL; in getLVForDecl()
1248 for (NamedDecl::redecl_iterator I = D->redecls_begin(), in getLVForDecl()
1251 NamedDecl *T = cast<NamedDecl>(*I); in getLVForDecl()
1267 static LinkageInfo getLVForDecl(const NamedDecl *D, in getLVForDecl()
1272 std::string NamedDecl::getQualifiedNameAsString() const { in getQualifiedNameAsString()
1276 std::string NamedDecl::getQualifiedNameAsString(const PrintingPolicy &P) const { in getQualifiedNameAsString()
1283 void NamedDecl::printQualifiedName(raw_ostream &OS) const { in printQualifiedName()
1287 void NamedDecl::printQualifiedName(raw_ostream &OS, in printQualifiedName()
1300 while (Ctx && isa<NamedDecl>(Ctx)) { in printQualifiedName()
1347 OS << *cast<NamedDecl>(*I); in printQualifiedName()
1358 void NamedDecl::getNameForDiagnostic(raw_ostream &OS, in getNameForDiagnostic()
1367 bool NamedDecl::declarationReplaces(NamedDecl *OldD) const { in declarationReplaces()
1431 bool NamedDecl::hasLinkage() const { in hasLinkage()
1435 NamedDecl *NamedDecl::getUnderlyingDeclImpl() { in getUnderlyingDeclImpl()
1436 NamedDecl *ND = this; in getUnderlyingDeclImpl()
1446 bool NamedDecl::isCXXInstanceMember() const { in isCXXInstanceMember()
1450 const NamedDecl *D = this; in isCXXInstanceMember()
2185 NamedDecl::getNameForDiagnostic(OS, Policy, Qualified); in getNameForDiagnostic()
2259 static bool isNamed(const NamedDecl *ND, const char (&Str)[Len]) { in isNamed()
2532 void FunctionDecl::setDeclsInPrototypeScope(ArrayRef<NamedDecl *> NewDecls) { in setDeclsInPrototypeScope()
2536 NamedDecl **A = new (getASTContext()) NamedDecl*[NewDecls.size()]; in setDeclsInPrototypeScope()
2538 DeclsInPrototypeScope = ArrayRef<NamedDecl *>(A, NewDecls.size()); in setDeclsInPrototypeScope()
3610 IdentifierInfo *Id, QualType T, NamedDecl **CH, in Create()