Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DDeclContextInternals.h65 NamedDecl *getAsDecl() const { in getAsDecl() function
84 if (NamedDecl *Singleton = getAsDecl()) { in remove()
105 } else if (NamedDecl *Singleton = getAsDecl()) { in removeExternalDecls()
124 if (getAsDecl()) { in getLookupResult()
143 if (NamedDecl *OldD = getAsDecl()) { in HandleRedeclaration()
170 if (NamedDecl *OldD = getAsDecl()) { in AddSubsequentDecl()
DTemplateBase.h233 ValueDecl *getAsDecl() const { in getAsDecl() function
/external/clang/lib/AST/
DTemplateBase.cpp102 if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl())) in isDependent()
104 return getAsDecl()->getDeclContext()->isDependentContext(); in isDependent()
143 if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl())) in isInstantiationDependent()
145 return getAsDecl()->getDeclContext()->isDependentContext(); in isInstantiationDependent()
247 ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : 0); in Profile()
297 return getAsDecl() == Other.getAsDecl() && in structurallyEquals()
355 NamedDecl *ND = cast<NamedDecl>(getAsDecl()); in print()
526 return DB << Arg.getAsDecl(); in operator <<()
DASTDiagnostic.cpp899 FromValueDecl = FromIter->getAsDecl(); in DiffTemplate()
906 ToValueDecl = ToIter->getAsDecl(); in DiffTemplate()
DDumpXML.cpp325 visitDeclRef(A.getAsDecl()); in dispatch()
DStmtProfile.cpp1173 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
DDeclBase.cpp1084 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND) in removeDecl()
DASTImporter.cpp306 return Context.IsStructurallyEquivalent(Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
2078 ValueDecl *FromD = From.getAsDecl(); in ImportTemplateArgument()
DASTDumper.cpp612 dumpDeclRef(A.getAsDecl()); in dumpTemplateArgument()
DItaniumMangle.cpp3136 ValueDecl *D = A.getAsDecl(); in mangleTemplateArg()
DDecl.cpp298 if (NamedDecl *ND = dyn_cast<NamedDecl>(arg.getAsDecl())) { in getLVForTemplateArgumentList()
DASTContext.cpp3864 ValueDecl *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp261 isSameDeclaration(X.getAsDecl(), Y.getAsDecl()) && in checkDeducedTemplateArguments()
1630 isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl()) && in DeduceTemplateArguments()
1680 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsDecl(), in DeduceTemplateArguments()
1904 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()) && in isSameTemplateArg()
DSemaTemplateInstantiate.cpp1183 VD = cast<ValueDecl>(arg.getAsDecl()); in transformNonTypeTemplateParmRef()
DSemaTemplate.cpp4521 ValueDecl *VD = cast<ValueDecl>(Arg.getAsDecl()); in BuildExpressionFromDeclTemplateArgument()
DSemaExpr.cpp11327 if (Decl *D = Arg.getAsDecl()) in TraverseTemplateArgument()
/external/clang/tools/libclang/
DCIndexUSRs.cpp735 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h410 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
/external/clang/lib/Serialization/
DASTWriter.cpp4567 AddDeclRef(Arg.getAsDecl(), Record); in AddTemplateArgument()