Searched refs:getAsDecl (Results 1 – 16 of 16) sorted by relevance
65 NamedDecl *getAsDecl() const { in getAsDecl() function84 if (NamedDecl *Singleton = getAsDecl()) { in remove()108 if (getAsDecl()) { in getLookupResult()127 if (NamedDecl *OldD = getAsDecl()) { in HandleRedeclaration()154 if (NamedDecl *OldD = getAsDecl()) { in AddSubsequentDecl()
262 Decl *getAsDecl() const { in getAsDecl() function
84 if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl())) in isDependent()86 return getAsDecl()->getDeclContext()->isDependentContext(); in isDependent()123 if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl())) in isInstantiationDependent()125 return getAsDecl()->getDeclContext()->isDependentContext(); in isInstantiationDependent()222 ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : 0); in Profile()329 if (NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getAsDecl())) { in print()495 return DB << Arg.getAsDecl(); in operator <<()
327 visitDeclRef(A.getAsDecl()); in dispatch()
1078 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
302 return Context.IsStructurallyEquivalent(Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()1868 if (Decl *To = Importer.Import(From.getAsDecl())) in ImportTemplateArgument()
170 if (Decl *D = Args[I].getAsDecl()) { in getLVForTemplateArgumentList()
2907 NamedDecl *D = cast<NamedDecl>(A.getAsDecl()); in mangleTemplateArg()
3152 return TemplateArgument(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
255 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments()1553 Param.getAsDecl()->getCanonicalDecl() == in DeduceTemplateArguments()1554 Arg.getAsDecl()->getCanonicalDecl()) in DeduceTemplateArguments()1594 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsDecl(), in DeduceTemplateArguments()1826 return X.getAsDecl()->getCanonicalDecl() == in isSameTemplateArg()1827 Y.getAsDecl()->getCanonicalDecl(); in isSameTemplateArg()
1104 ValueDecl *VD = cast<ValueDecl>(arg.getAsDecl()); in transformNonTypeTemplateParmRef()
2833 if (NamedDecl *ND = dyn_cast<NamedDecl>(Arg.getAsDecl())) in TransformTemplateArgument()2836 Decl *D = getDerived().TransformDecl(Input.getLocation(), Arg.getAsDecl()); in TransformTemplateArgument()
4035 ValueDecl *VD = cast<ValueDecl>(Arg.getAsDecl()); in BuildExpressionFromDeclTemplateArgument()
9049 S.MarkDeclarationReferenced(Loc, Arg.getAsDecl()); in TraverseTemplateArgument()
720 if (Decl *D = Arg.getAsDecl()) in VisitTemplateArgument()
3771 AddDeclRef(Arg.getAsDecl(), Record); in AddTemplateArgument()