Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclContextInternals.h71 NamedDecl *getAsDecl() const { in getAsDecl() function
92 if (NamedDecl *OldD = getAsDecl()) in setHasExternalDecls()
109 if (NamedDecl *Singleton = getAsDecl()) { in remove()
130 } else if (NamedDecl *Singleton = getAsDecl()) { in removeExternalDecls()
150 if (NamedDecl *ND = getAsDecl()) { in getLookupResult()
168 if (NamedDecl *OldD = getAsDecl()) { in HandleRedeclaration()
196 if (NamedDecl *OldD = getAsDecl()) { in AddSubsequentDecl()
H A DTemplateBase.h264 ValueDecl *getAsDecl() const { in getAsDecl() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DTemplateBase.cpp131 if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl())) in isDependent()
133 return getAsDecl()->getDeclContext()->isDependentContext(); in isDependent()
171 if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl())) in isInstantiationDependent()
173 return getAsDecl()->getDeclContext()->isDependentContext(); in isInstantiationDependent()
302 ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : nullptr); in Profile()
352 return getAsDecl() == Other.getAsDecl(); in structurallyEquals()
409 NamedDecl *ND = getAsDecl(); in print()
522 return DB << Arg.getAsDecl(); in operator <<()
H A DASTStructuralEquivalence.cpp251 return IsStructurallyEquivalent(Context, Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
H A DASTDiagnostic.cpp1173 VD = Iter->getAsDecl(); in InitializeNonTypeDiffVariables()
1203 VD = TA.getAsDecl(); in InitializeNonTypeDiffVariables()
H A DODRHash.cpp163 AddDecl(TA.getAsDecl()); in AddTemplateArgument()
H A DTextNodeDumper.cpp571 dumpDeclRef(TA.getAsDecl()); in VisitDeclarationTemplateArgument()
H A DDeclBase.cpp1474 if ((Vec && is_contained(*Vec, ND)) || Pos->second.getAsDecl() == ND) in removeDecl()
H A DStmtProfile.cpp1989 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
H A DMicrosoftMangle.cpp1426 const NamedDecl *ND = TA.getAsDecl(); in mangleTemplateArg()
H A DDecl.cpp335 const NamedDecl *ND = Arg.getAsDecl(); in getLVForTemplateArgumentList()
H A DItaniumMangle.cpp4481 ValueDecl *D = A.getAsDecl(); in mangleTemplateArg()
H A DASTContext.cpp5312 auto *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
H A DASTImporter.cpp768 Expected<ValueDecl *> ToOrErr = import(From.getAsDecl()); in import()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp321 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments()
2158 isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl())) in DeduceTemplateArguments()
2212 Arg.getAsDecl(), in DeduceTemplateArguments()
2391 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()); in isSameTemplateArg()
H A DSemaTemplateInstantiate.cpp1264 VD = arg.getAsDecl(); in transformNonTypeTemplateParmRef()
H A DSemaExprCXX.cpp611 getUuidAttrOfType(SemaRef, TA.getAsDecl()->getType(), UuidAttrs); in getUuidAttrOfType()
H A DSemaTemplate.cpp6770 ValueDecl *VD = Arg.getAsDecl(); in BuildExpressionFromDeclTemplateArgument()
H A DSemaExpr.cpp15831 if (Decl *D = Arg.getAsDecl()) in TraverseTemplateArgument()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DUSRGeneration.cpp941 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h978 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1725 const ValueDecl *D = TA.getAsDecl(); in CollectTemplateParams()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp5869 AddDeclRef(Arg.getAsDecl()); in AddTemplateArgument()