Home
last modified time | relevance | path

Searched refs:getAsDecl (Results 1 – 17 of 17) 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.h261 Decl *getAsDecl() const { in getAsDecl() function
/external/clang/lib/AST/
DTemplateBase.cpp83 if (Decl *D = getAsDecl()) { in isDependent()
125 if (Decl *D = getAsDecl()) { in isInstantiationDependent()
227 ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : 0); in Profile()
332 if (NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getAsDecl())) { in print()
496 if (Decl *D = Arg.getAsDecl()) in operator <<()
DASTImporter.cpp328 if (!Arg1.getAsDecl() || !Arg2.getAsDecl()) in IsStructurallyEquivalent()
329 return !Arg1.getAsDecl() && !Arg2.getAsDecl(); in IsStructurallyEquivalent()
330 return Context.IsStructurallyEquivalent(Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
1998 if (Decl *To = Importer.Import(From.getAsDecl())) in ImportTemplateArgument()
DDumpXML.cpp323 if (Decl *D = A.getAsDecl()) in dispatch()
DDeclBase.cpp1040 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND) in removeDecl()
DStmtProfile.cpp1160 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
DItaniumMangle.cpp3139 if (!A.getAsDecl()) { in mangleTemplateArg()
3147 NamedDecl *D = cast<NamedDecl>(A.getAsDecl()); in mangleTemplateArg()
DDecl.cpp157 if (Decl *D = Args[I].getAsDecl()) { in getLVForTemplateArgumentList()
DASTContext.cpp3320 if (Decl *D = Arg.getAsDecl()) in getCanonicalTemplateArgument()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp256 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments()
1589 isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl())) in DeduceTemplateArguments()
1629 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsDecl(), in DeduceTemplateArguments()
1860 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()); in isSameTemplateArg()
DSemaTemplateInstantiate.cpp1154 if (Decl *D = arg.getAsDecl()) { in transformNonTypeTemplateParmRef()
DSemaTemplate.cpp4376 if (!Arg.getAsDecl()) { in BuildExpressionFromDeclTemplateArgument()
4385 ValueDecl *VD = cast<ValueDecl>(Arg.getAsDecl()); in BuildExpressionFromDeclTemplateArgument()
DTreeTransform.h2993 if (NamedDecl *ND = dyn_cast<NamedDecl>(Arg.getAsDecl())) in TransformTemplateArgument()
2996 Decl *D = getDerived().TransformDecl(Input.getLocation(), Arg.getAsDecl()); in TransformTemplateArgument()
DSemaExpr.cpp10488 if (Decl *D = Arg.getAsDecl()) in TraverseTemplateArgument()
/external/clang/tools/libclang/
DCIndexUSRs.cpp728 if (Decl *D = Arg.getAsDecl()) in VisitTemplateArgument()
/external/clang/lib/Serialization/
DASTWriter.cpp4145 AddDeclRef(Arg.getAsDecl(), Record); in AddTemplateArgument()