Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp285 auto *DC = dyn_cast<DeclContext>(getAsDecl()); in getDependence()
287 DC = getAsDecl()->getDeclContext(); in getDependence()
403 ID.AddPointer(getAsDecl()); in Profile()
450 return getAsDecl() == Other.getAsDecl() && in structurallyEquals()
521 NamedDecl *ND = getAsDecl(); in print()
639 return DB << Arg.getAsDecl(); in DiagTemplateArg()
H A DASTDiagnostic.cpp1229 VD = Iter->getAsDecl(); in InitializeNonTypeDiffVariables()
1270 VD = TA.getAsDecl(); in InitializeNonTypeDiffVariables()
H A DASTStructuralEquivalence.cpp680 return IsStructurallyEquivalent(Context, Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
H A DODRHash.cpp179 AddDecl(TA.getAsDecl()); in AddTemplateArgument()
H A DJSONNodeDumper.cpp1688 JOS.attribute("decl", createBareDeclRef(TA.getAsDecl())); in VisitDeclarationTemplateArgument()
H A DStmtProfile.cpp2445 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
H A DTextNodeDumper.cpp1122 dumpDeclRef(TA.getAsDecl()); in VisitDeclarationTemplateArgument()
H A DMicrosoftMangle.cpp1767 const NamedDecl *ND = TA.getAsDecl(); in mangleTemplateArg()
H A DDecl.cpp336 const NamedDecl *ND = Arg.getAsDecl(); in getLVForTemplateArgumentList()
H A DItaniumMangle.cpp6083 ValueDecl *D = A.getAsDecl(); in mangleTemplateArg()
H A DASTImporter.cpp809 Expected<ValueDecl *> ToOrErr = import(From.getAsDecl()); in import()
3636 return isAncestorDeclContextOf(ParentDC, Arg.getAsDecl()); in checkTemplateArgument()
H A DASTContext.cpp7190 auto *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
/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
231 if (NamedDecl *OldD = getAsDecl()) { in addOrReplaceDecl()
H A DTemplateBase.h326 ValueDecl *getAsDecl() const {
H A DPropertiesBase.td777 let Read = [{ node.getAsDecl() }];
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp336 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments()
2451 isSameDeclaration(P.getAsDecl(), A.getAsDecl())) in DeduceTemplateArguments()
2502 S, TemplateParams, NTTP, A.getAsDecl(), A.getParamTypeForDecl(), in DeduceTemplateArguments()
2693 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()); in isSameTemplateArg()
H A DSemaTemplateInstantiate.cpp2209 ValueDecl *VD = arg.getAsDecl(); in transformNonTypeTemplateParmRef()
H A DSemaExprCXX.cpp736 getUuidAttrOfType(SemaRef, TA.getAsDecl()->getType(), UuidAttrs); in getUuidAttrOfType()
H A DSemaTemplate.cpp7255 ValueDecl *VD = Arg.getAsDecl(); in BuildExpressionFromDeclTemplateArgument()
H A DTreeTransform.h4674 ? Arg.getAsDecl() in TransformTemplateArgument()
H A DSemaExpr.cpp19845 if (Decl *D = Arg.getAsDecl()) in TraverseTemplateArgument()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp1039 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp1108 const auto *VD = CTA.getAsDecl(); in getFragmentsForTemplateArguments()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1151 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2266 const ValueDecl *D = TA.getAsDecl(); in CollectTemplateParams()