Home
last modified time | relevance | path

Searched refs:getAsDecl (Results 1 – 16 of 16) sorted by relevance

/external/clang/include/clang/AST/
DDeclContextInternals.h65 NamedDecl *getAsDecl() const { in getAsDecl() function
84 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()
DTemplateBase.h262 Decl *getAsDecl() const { in getAsDecl() function
/external/clang/lib/AST/
DTemplateBase.cpp84 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 <<()
DDumpXML.cpp327 visitDeclRef(A.getAsDecl()); in dispatch()
DStmtProfile.cpp1078 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
DASTImporter.cpp302 return Context.IsStructurallyEquivalent(Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
1868 if (Decl *To = Importer.Import(From.getAsDecl())) in ImportTemplateArgument()
DDecl.cpp170 if (Decl *D = Args[I].getAsDecl()) { in getLVForTemplateArgumentList()
DItaniumMangle.cpp2907 NamedDecl *D = cast<NamedDecl>(A.getAsDecl()); in mangleTemplateArg()
DASTContext.cpp3152 return TemplateArgument(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp255 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()
DSemaTemplateInstantiate.cpp1104 ValueDecl *VD = cast<ValueDecl>(arg.getAsDecl()); in transformNonTypeTemplateParmRef()
DTreeTransform.h2833 if (NamedDecl *ND = dyn_cast<NamedDecl>(Arg.getAsDecl())) in TransformTemplateArgument()
2836 Decl *D = getDerived().TransformDecl(Input.getLocation(), Arg.getAsDecl()); in TransformTemplateArgument()
DSemaTemplate.cpp4035 ValueDecl *VD = cast<ValueDecl>(Arg.getAsDecl()); in BuildExpressionFromDeclTemplateArgument()
DSemaExpr.cpp9049 S.MarkDeclarationReferenced(Loc, Arg.getAsDecl()); in TraverseTemplateArgument()
/external/clang/tools/libclang/
DCIndexUSRs.cpp720 if (Decl *D = Arg.getAsDecl()) in VisitTemplateArgument()
/external/clang/lib/Serialization/
DASTWriter.cpp3771 AddDeclRef(Arg.getAsDecl(), Record); in AddTemplateArgument()