Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DTemplateBase.cpp114 return (getAsExpr()->isTypeDependent() || getAsExpr()->isValueDependent()); in isDependent()
155 return getAsExpr()->isInstantiationDependent(); in isInstantiationDependent()
186 return isa<PackExpansionExpr>(getAsExpr()); in isPackExpansion()
212 if (getAsExpr()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPack()
278 getAsExpr()->Profile(ID, Context, true); in Profile()
327 return cast<PackExpansionExpr>(getAsExpr())->getPattern(); in getPackExpansionPattern()
389 getAsExpr()->printPretty(Out, nullptr, Policy); in print()
492 Arg.getAsExpr()->printPretty(OS, nullptr, Policy); in operator <<()
DTypeLoc.cpp369 ArgInfos[i] = TemplateArgumentLocInfo(Args[i].getAsExpr()); in initializeArgLocs()
DASTDiagnostic.cpp1112 ArgExpr = Iter->getAsExpr(); in GetExpr()
1136 ArgExpr = Iter.getDesugar().getAsExpr(); in GetInt()
1160 ArgExpr = Iter.getDesugar().getAsExpr(); in GetValueDecl()
DStmtProfile.cpp1346 Visit(Arg.getAsExpr()); in VisitTemplateArgument()
DASTImporter.cpp330 Arg1.getAsExpr(), Arg2.getAsExpr()); in IsStructurallyEquivalent()
2127 if (Expr *ToExpr = Importer.Import(From.getAsExpr())) in ImportTemplateArgument()
DMicrosoftMangle.cpp1170 mangleExpression(TA.getAsExpr()); in mangleTemplateArg()
DASTDumper.cpp765 dumpStmt(A.getAsExpr()); in dumpTemplateArgument()
DItaniumMangle.cpp3341 const Expr *E = A.getAsExpr()->IgnoreParens(); in mangleTemplateArg()
/external/clang/include/clang/AST/
DTemplateBase.h308 Expr *getAsExpr() const { in getAsExpr() function
398 Expr *getAsExpr() const { in getAsExpr() function
476 return LocInfo.getAsExpr(); in getSourceExpression()
481 return LocInfo.getAsExpr(); in getSourceDeclExpression()
486 return LocInfo.getAsExpr(); in getSourceNullPtrExpression()
491 return LocInfo.getAsExpr(); in getSourceIntegralExpression()
DDataRecursiveASTVisitor.h715 return getDerived().TraverseStmt(Arg.getAsExpr()); in TraverseTemplateArgument()
DRecursiveASTVisitor.h781 return getDerived().TraverseStmt(Arg.getAsExpr()); in TraverseTemplateArgument()
/external/clang/include/clang/Sema/
DParsedTemplate.h76 Expr *getAsExpr() const { in getAsExpr() function
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp421 ExprResult Result = ActOnPackExpansion(Arg.getAsExpr(), EllipsisLoc); in ActOnPackExpansion()
875 = cast<PackExpansionExpr>(Argument.getAsExpr()); in getTemplateArgumentPackExpansionPattern()
DSemaTemplateDeduction.cpp242 X.getAsExpr()->Profile(ID1, Context, true); in checkDeducedTemplateArguments()
243 Y.getAsExpr()->Profile(ID2, Context, true); in checkDeducedTemplateArguments()
1768 = getDeducedParameterFromExpr(Param.getAsExpr())) { in DeduceTemplateArguments()
1776 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsExpr(), in DeduceTemplateArguments()
1983 X.getAsExpr()->Profile(XID, Context, true); in isSameTemplateArg()
1984 Y.getAsExpr()->Profile(YID, Context, true); in isSameTemplateArg()
2073 return TemplateArgumentLoc(Arg, Arg.getAsExpr()); in getTrivialTemplateArgumentLoc()
5035 MarkUsedTemplateParameters(Ctx, TemplateArg.getAsExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
DSemaTemplate.cpp498 Expr *E = static_cast<Expr *>(Arg.getAsExpr()); in translateTemplateArgument()
2344 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Arg.getAsExpr()); in isTemplateArgumentTemplateParameter()
3032 if (DeclRefExpr *ArgExpr = dyn_cast<DeclRefExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument()
3036 dyn_cast<DependentScopeDeclRefExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument()
3040 dyn_cast<CXXDependentScopeMemberExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument()
3432 CheckTemplateArgument(NTTP, NTTPType, Arg.getArgument().getAsExpr(), in CheckTemplateArgument()
5826 Expr *ArgExpr = Args[I].getAsExpr(); in CheckNonTypeTemplatePartialSpecializationArgs()
DSemaTemplateInstantiate.cpp1140 Expr *argExpr = arg.getAsExpr(); in transformNonTypeTemplateParmRef()
DTreeTransform.h3291 Output = TemplateArgumentLoc(Arg, Arg.getAsExpr()); in InventTemplateArgumentLoc()
3358 if (!InputExpr) InputExpr = Input.getArgument().getAsExpr(); in TransformTemplateArgument()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h496 return InnerMatcher.matches(*Node.getAsExpr(), Finder, Builder); in AST_MATCHER_P()
/external/clang/lib/Serialization/
DASTWriter.cpp4739 AddStmt(Arg.getAsExpr()); in AddTemplateArgumentLocInfo()
4769 = Arg.getArgument().getAsExpr() == Arg.getLocInfo().getAsExpr(); in AddTemplateArgumentLoc()
5191 AddStmt(Arg.getAsExpr()); in AddTemplateArgument()
DASTReader.cpp5938 return TemplateArgumentLoc(Arg, TemplateArgumentLocInfo(Arg.getAsExpr())); in ReadTemplateArgumentLoc()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1320 const Expr *E = TA.getAsExpr(); in CollectTemplateParams()