Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DDeclContextInternals.h69 NamedDecl *getAsDecl() const { in getAsDecl() function
90 if (NamedDecl *OldD = getAsDecl()) in setHasExternalDecls()
107 if (NamedDecl *Singleton = getAsDecl()) { in remove()
128 } else if (NamedDecl *Singleton = getAsDecl()) { in removeExternalDecls()
149 if (getAsDecl()) { in getLookupResult()
168 if (NamedDecl *OldD = getAsDecl()) { in HandleRedeclaration()
197 if (NamedDecl *OldD = getAsDecl()) { in AddSubsequentDecl()
DTemplateBase.h246 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()
251 ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : nullptr); in Profile()
301 return getAsDecl() == Other.getAsDecl() && in structurallyEquals()
359 NamedDecl *ND = cast<NamedDecl>(getAsDecl()); in print()
469 return DB << Arg.getAsDecl(); in operator <<()
DASTDiagnostic.cpp945 FromValueDecl = FromIter->getAsDecl(); in DiffTemplate()
952 ToValueDecl = ToIter->getAsDecl(); in DiffTemplate()
1158 return Iter.getDesugar().getAsDecl(); in GetValueDecl()
DStmtProfile.cpp1333 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
DDeclBase.cpp1157 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND) in removeDecl()
DExprCXX.cpp87 GetUuidAttrOfType(TA.getAsDecl()->getType(), &SeenMultipleGUIDs); in GetUuidAttrOfType()
DASTImporter.cpp313 return Context.IsStructurallyEquivalent(Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
2096 ValueDecl *FromD = From.getAsDecl(); in ImportTemplateArgument()
DMicrosoftMangle.cpp1133 const NamedDecl *ND = cast<NamedDecl>(TA.getAsDecl()); in mangleTemplateArg()
DASTDumper.cpp746 dumpDeclRef(A.getAsDecl()); in dumpTemplateArgument()
DItaniumMangle.cpp3365 ValueDecl *D = A.getAsDecl(); in mangleTemplateArg()
DDecl.cpp320 if (NamedDecl *ND = dyn_cast<NamedDecl>(Arg.getAsDecl())) { in getLVForTemplateArgumentList()
DASTContext.cpp4103 ValueDecl *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp265 isSameDeclaration(X.getAsDecl(), Y.getAsDecl()) && in checkDeducedTemplateArguments()
1729 isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl()) && in DeduceTemplateArguments()
1779 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsDecl(), in DeduceTemplateArguments()
1965 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()) && in isSameTemplateArg()
DSemaTemplateInstantiate.cpp1148 VD = cast<ValueDecl>(arg.getAsDecl()); in transformNonTypeTemplateParmRef()
DSemaTemplate.cpp5188 ValueDecl *VD = cast<ValueDecl>(Arg.getAsDecl()); in BuildExpressionFromDeclTemplateArgument()
DSemaExpr.cpp12640 if (Decl *D = Arg.getAsDecl()) in TraverseTemplateArgument()
/external/clang/lib/Index/
DUSRGeneration.cpp731 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h478 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
/external/chromium_org/tools/clang/blink_gc_plugin/
DBlinkGCPlugin.cpp351 dyn_cast<FunctionDecl>(args[1].getAsDecl())) { in VisitMemberExpr()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1246 const ValueDecl *D = TA.getAsDecl(); in CollectTemplateParams()
/external/clang/lib/Serialization/
DASTWriter.cpp5170 AddDeclRef(Arg.getAsDecl(), Record); in AddTemplateArgument()