Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp281 auto *DC = dyn_cast<DeclContext>(getAsDecl()); in getDependence()
283 DC = getAsDecl()->getDeclContext(); in getDependence()
396 ID.AddPointer(getAsDecl()); in Profile()
452 return getAsDecl() == Other.getAsDecl() && in structurallyEquals()
524 ValueDecl *VD = getAsDecl(); in print()
643 return DB << Arg.getAsDecl(); in DiagTemplateArg()
H A DASTDiagnostic.cpp1258 VD = Iter->getAsDecl(); in InitializeNonTypeDiffVariables()
1299 VD = TA.getAsDecl(); in InitializeNonTypeDiffVariables()
H A DASTStructuralEquivalence.cpp726 return IsStructurallyEquivalent(Context, Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
H A DODRHash.cpp195 AddDecl(TA.getAsDecl()); in AddTemplateArgument()
H A DJSONNodeDumper.cpp1702 JOS.attribute("decl", createBareDeclRef(TA.getAsDecl())); in VisitDeclarationTemplateArgument()
H A DStmtProfile.cpp2494 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
H A DTextNodeDumper.cpp1253 dumpDeclRef(TA.getAsDecl()); in VisitDeclarationTemplateArgument()
H A DMicrosoftMangle.cpp1807 const NamedDecl *ND = TA.getAsDecl(); in mangleTemplateArg()
H A DDecl.cpp335 const NamedDecl *ND = Arg.getAsDecl(); in getLVForTemplateArgumentList()
H A DASTContext.cpp7733 auto *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
7793 return Arg1.getAsDecl()->getUnderlyingDecl()->getCanonicalDecl() == in isSameTemplateArgument()
7794 Arg2.getAsDecl()->getUnderlyingDecl()->getCanonicalDecl(); in isSameTemplateArgument()
H A DItaniumMangle.cpp6356 ValueDecl *D = A.getAsDecl(); in mangleTemplateArg()
H A DASTImporter.cpp863 Expected<ValueDecl *> ToOrErr = import(From.getAsDecl()); in import()
3911 return isAncestorDeclContextOf(ParentDC, Arg.getAsDecl()); in checkTemplateArgument()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclContextInternals.h137 if (NamedDecl *ND = getAsDecl()) in getASTContext()
144 NamedDecl *getAsDecl() const { in getAsDecl() function
230 if (NamedDecl *OldD = getAsDecl()) { in addOrReplaceDecl()
H A DTemplateBase.h327 ValueDecl *getAsDecl() const {
H A DPropertiesBase.td800 let Read = [{ node.getAsDecl() }];
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DTemplateArgumentHasher.cpp76 AddDecl(TA.getAsDecl()); in AddTemplateArgument()
H A DASTWriterDecl.cpp254 if (!TA.getAsDecl()->isExternallyVisible()) in shouldSkipWritingSpecializations()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp1037 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp324 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments()
2540 isSameDeclaration(P.getAsDecl(), A.getAsDecl())) in DeduceTemplateArguments()
2617 S, TemplateParams, NTTP, A.getAsDecl(), A.getParamTypeForDecl(), in DeduceTemplateArguments()
H A DSemaTemplateInstantiate.cpp2386 ValueDecl *VD = arg.getAsDecl(); in transformNonTypeTemplateParmRef()
H A DSemaExprCXX.cpp723 getUuidAttrOfType(SemaRef, TA.getAsDecl()->getType(), UuidAttrs); in getUuidAttrOfType()
H A DSemaTemplate.cpp7719 ValueDecl *VD = Arg.getAsDecl(); in BuildExpressionFromDeclTemplateArgument()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp1126 const auto *VD = CTA.getAsDecl(); in getFragmentsForTemplateArguments()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1159 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2440 const ValueDecl *D = TA.getAsDecl(); in CollectTemplateParams()

12