Home
last modified time | relevance | path

Searched refs:getAsDecl (Results 1 – 22 of 22) 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.h245 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()
487 return DB << Arg.getAsDecl(); in operator <<()
DASTDiagnostic.cpp1150 VD = Iter->getAsDecl(); in InitializeNonTypeDiffVariables()
1180 VD = TA.getAsDecl(); in InitializeNonTypeDiffVariables()
DDeclBase.cpp1263 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND) in removeDecl()
DStmtProfile.cpp1730 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
DASTDumper.cpp964 dumpDeclRef(A.getAsDecl()); in dumpTemplateArgument()
DASTImporter.cpp413 return Context.IsStructurallyEquivalent(Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
2293 ValueDecl *To = cast_or_null<ValueDecl>(Importer.Import(From.getAsDecl())); in ImportTemplateArgument()
DMicrosoftMangle.cpp1249 const NamedDecl *ND = cast<NamedDecl>(TA.getAsDecl()); in mangleTemplateArg()
DDecl.cpp332 if (const auto *ND = dyn_cast<NamedDecl>(Arg.getAsDecl())) { in getLVForTemplateArgumentList()
DItaniumMangle.cpp4130 ValueDecl *D = A.getAsDecl(); in mangleTemplateArg()
DASTContext.cpp4395 ValueDecl *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
/external/v8/tools/clang/blink_gc_plugin/
DCheckTraceVisitor.cpp348 dyn_cast<FunctionDecl>(args[1].getAsDecl())) { in CheckRegisterWeakMembers()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp239 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments()
1716 isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl())) in DeduceTemplateArguments()
1765 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsDecl(), in DeduceTemplateArguments()
1952 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()); in isSameTemplateArg()
DSemaTemplateInstantiate.cpp1144 VD = cast<ValueDecl>(arg.getAsDecl()); in transformNonTypeTemplateParmRef()
DSemaExprCXX.cpp540 getUuidAttrOfType(SemaRef, TA.getAsDecl()->getType(), UuidAttrs); in getUuidAttrOfType()
DSemaTemplate.cpp5431 ValueDecl *VD = cast<ValueDecl>(Arg.getAsDecl()); in BuildExpressionFromDeclTemplateArgument()
DSemaExpr.cpp14094 if (Decl *D = Arg.getAsDecl()) in TraverseTemplateArgument()
/external/clang/lib/Index/
DUSRGeneration.cpp809 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h777 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1411 const ValueDecl *D = TA.getAsDecl(); in CollectTemplateParams()
/external/clang/lib/Serialization/
DASTWriter.cpp5327 AddDeclRef(Arg.getAsDecl()); in AddTemplateArgument()