Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDeclContextInternals.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()
HDTemplateBase.h247 ValueDecl *getAsDecl() const { in getAsDecl() function
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDTemplateBase.cpp118 if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl())) in isDependent()
120 return getAsDecl()->getDeclContext()->isDependentContext(); in isDependent()
158 if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl())) in isInstantiationDependent()
160 return getAsDecl()->getDeclContext()->isDependentContext(); in isInstantiationDependent()
264 ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : nullptr); in Profile()
314 return getAsDecl() == Other.getAsDecl(); in structurallyEquals()
371 NamedDecl *ND = cast<NamedDecl>(getAsDecl()); in print()
480 return DB << Arg.getAsDecl(); in operator <<()
HDASTDiagnostic.cpp960 VD = Iter->getAsDecl(); in InitializeNonTypeDiffVariables()
1266 return Iter.getDesugar().getAsDecl(); in GetValueDecl()
HDDeclBase.cpp1197 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND) in removeDecl()
HDStmtProfile.cpp1514 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
HDExprCXX.cpp88 GetUuidAttrOfType(TA.getAsDecl()->getType(), &SeenMultipleGUIDs); in GetUuidAttrOfType()
HDASTDumper.cpp931 dumpDeclRef(A.getAsDecl()); in dumpTemplateArgument()
HDASTImporter.cpp358 return Context.IsStructurallyEquivalent(Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
2172 ValueDecl *To = cast_or_null<ValueDecl>(Importer.Import(From.getAsDecl())); in ImportTemplateArgument()
HDMicrosoftMangle.cpp1186 const NamedDecl *ND = cast<NamedDecl>(TA.getAsDecl()); in mangleTemplateArg()
HDDecl.cpp332 if (NamedDecl *ND = dyn_cast<NamedDecl>(Arg.getAsDecl())) { in getLVForTemplateArgumentList()
HDItaniumMangle.cpp3582 ValueDecl *D = A.getAsDecl(); in mangleTemplateArg()
HDASTContext.cpp4279 ValueDecl *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaTemplateDeduction.cpp239 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments()
1694 isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl())) in DeduceTemplateArguments()
1743 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsDecl(), in DeduceTemplateArguments()
1929 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()); in isSameTemplateArg()
HDSemaTemplateInstantiate.cpp1150 VD = cast<ValueDecl>(arg.getAsDecl()); in transformNonTypeTemplateParmRef()
HDSemaTemplate.cpp5351 ValueDecl *VD = cast<ValueDecl>(Arg.getAsDecl()); in BuildExpressionFromDeclTemplateArgument()
HDSemaExpr.cpp13402 if (Decl *D = Arg.getAsDecl()) in TraverseTemplateArgument()
/NextBSD/contrib/llvm/tools/clang/lib/Index/
HDUSRGeneration.cpp773 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/
HDASTMatchers.h618 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGDebugInfo.cpp1237 const ValueDecl *D = TA.getAsDecl(); in CollectTemplateParams()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTWriter.cpp5303 AddDeclRef(Arg.getAsDecl(), Record); in AddTemplateArgument()