Home
last modified time | relevance | path

Searched refs:getAsDecl (Results 1 – 21 of 21) 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()
148 if (NamedDecl *ND = getAsDecl()) { in getLookupResult()
166 if (NamedDecl *OldD = getAsDecl()) { in HandleRedeclaration()
195 if (NamedDecl *OldD = getAsDecl()) { in AddSubsequentDecl()
DTemplateBase.h244 ValueDecl *getAsDecl() const { in getAsDecl() function
/external/clang/lib/AST/
DTemplateBase.cpp116 if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl())) in isDependent()
118 return getAsDecl()->getDeclContext()->isDependentContext(); in isDependent()
156 if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl())) in isInstantiationDependent()
158 return getAsDecl()->getDeclContext()->isDependentContext(); in isInstantiationDependent()
262 ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : nullptr); in Profile()
312 return getAsDecl() == Other.getAsDecl(); in structurallyEquals()
369 NamedDecl *ND = cast<NamedDecl>(getAsDecl()); in print()
478 return DB << Arg.getAsDecl(); in operator <<()
DASTDiagnostic.cpp1011 VD = Iter->getAsDecl(); in InitializeNonTypeDiffVariables()
1317 return Iter.getDesugar().getAsDecl(); in GetValueDecl()
DDeclBase.cpp1219 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND) in removeDecl()
DStmtProfile.cpp1610 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
DExprCXX.cpp88 GetUuidAttrOfType(TA.getAsDecl()->getType(), &SeenMultipleGUIDs); in GetUuidAttrOfType()
DASTDumper.cpp933 dumpDeclRef(A.getAsDecl()); in dumpTemplateArgument()
DASTImporter.cpp358 return Context.IsStructurallyEquivalent(Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
2172 ValueDecl *To = cast_or_null<ValueDecl>(Importer.Import(From.getAsDecl())); in ImportTemplateArgument()
DMicrosoftMangle.cpp1201 const NamedDecl *ND = cast<NamedDecl>(TA.getAsDecl()); in mangleTemplateArg()
DDecl.cpp331 if (const auto *ND = dyn_cast<NamedDecl>(Arg.getAsDecl())) { in getLVForTemplateArgumentList()
DItaniumMangle.cpp3730 ValueDecl *D = A.getAsDecl(); in mangleTemplateArg()
DASTContext.cpp4341 ValueDecl *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp239 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments()
1703 isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl())) in DeduceTemplateArguments()
1752 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsDecl(), in DeduceTemplateArguments()
1938 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()); in isSameTemplateArg()
DSemaTemplateInstantiate.cpp1142 VD = cast<ValueDecl>(arg.getAsDecl()); in transformNonTypeTemplateParmRef()
DSemaTemplate.cpp5389 ValueDecl *VD = cast<ValueDecl>(Arg.getAsDecl()); in BuildExpressionFromDeclTemplateArgument()
DSemaExpr.cpp13647 if (Decl *D = Arg.getAsDecl()) in TraverseTemplateArgument()
/external/clang/lib/Index/
DUSRGeneration.cpp780 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h668 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1301 const ValueDecl *D = TA.getAsDecl(); in CollectTemplateParams()
/external/clang/lib/Serialization/
DASTWriter.cpp5291 AddDeclRef(Arg.getAsDecl(), Record); in AddTemplateArgument()