Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DTemplateBase.cpp128 return (getAsExpr()->isTypeDependent() || getAsExpr()->isValueDependent() || in isDependent()
129 isa<PackExpansionExpr>(getAsExpr())); in isDependent()
168 return getAsExpr()->isInstantiationDependent(); in isInstantiationDependent()
197 return isa<PackExpansionExpr>(getAsExpr()); in isPackExpansion()
223 if (getAsExpr()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPack()
289 getAsExpr()->Profile(ID, Context, true); in Profile()
337 return cast<PackExpansionExpr>(getAsExpr())->getPattern(); in getPackExpansionPattern()
399 getAsExpr()->printPretty(Out, nullptr, Policy); in print()
510 Arg.getAsExpr()->printPretty(OS, nullptr, Policy); in operator <<()
DTypeLoc.cpp470 ArgInfos[i] = TemplateArgumentLocInfo(Args[i].getAsExpr()); in initializeArgLocs()
DASTDiagnostic.cpp1162 E = Iter->getAsExpr(); in InitializeNonTypeDiffVariables()
1196 E = TA.getAsExpr(); in InitializeNonTypeDiffVariables()
DStmtProfile.cpp1743 Visit(Arg.getAsExpr()); in VisitTemplateArgument()
/external/llvm-project/clang/lib/AST/
DTemplateBase.cpp149 Deps = toTemplateArgumentDependence(getAsExpr()->getDependence()); in getDependence()
150 if (isa<PackExpansionExpr>(getAsExpr())) in getDependence()
188 return isa<PackExpansionExpr>(getAsExpr()); in isPackExpansion()
219 return getAsExpr()->getType(); in getNonTypeTemplateArgumentType()
274 getAsExpr()->Profile(ID, Context, true); in Profile()
325 return cast<PackExpansionExpr>(getAsExpr())->getPattern(); in getPackExpansionPattern()
389 getAsExpr()->printPretty(Out, nullptr, Policy); in print()
496 Arg.getAsExpr()->printPretty(OS, nullptr, Policy); in DiagTemplateArg()
DTypeLoc.cpp569 ArgInfos[i] = TemplateArgumentLocInfo(Args[i].getAsExpr()); in initializeArgLocs()
DASTStructuralEquivalence.cpp547 return IsStructurallyEquivalent(Context, Arg1.getAsExpr(), in IsStructurallyEquivalent()
548 Arg2.getAsExpr()); in IsStructurallyEquivalent()
DASTDiagnostic.cpp1202 E = Iter->getAsExpr(); in InitializeNonTypeDiffVariables()
1236 E = TA.getAsExpr(); in InitializeNonTypeDiffVariables()
DODRHash.cpp178 AddStmt(TA.getAsExpr()); in AddTemplateArgument()
/external/clang/include/clang/AST/
DTemplateBase.h305 Expr *getAsExpr() const { in getAsExpr() function
407 Expr *getAsExpr() const { in getAsExpr() function
485 return LocInfo.getAsExpr(); in getSourceExpression()
490 return LocInfo.getAsExpr(); in getSourceDeclExpression()
495 return LocInfo.getAsExpr(); in getSourceNullPtrExpression()
500 return LocInfo.getAsExpr(); in getSourceIntegralExpression()
/external/llvm-project/clang/include/clang/AST/
DTemplateBase.h342 Expr *getAsExpr() const {
438 Expr *getAsExpr() const { return Pointer.get<Expr *>(); }
521 return LocInfo.getAsExpr();
526 return LocInfo.getAsExpr();
531 return LocInfo.getAsExpr();
536 return LocInfo.getAsExpr();
DASTNodeTraverser.h750 Visit(TA.getAsExpr()); in VisitExpressionTemplateArgument()
DPropertiesBase.td480 let Read = [{ node.getAsExpr() }];
/external/clang/include/clang/Sema/
DParsedTemplate.h83 Expr *getAsExpr() const { in getAsExpr() function
/external/llvm-project/clang/include/clang/Sema/
DParsedTemplate.h82 Expr *getAsExpr() const { in getAsExpr() function
/external/llvm-project/clang/lib/Sema/
DSemaTemplateVariadic.cpp568 ExprResult Result = ActOnPackExpansion(Arg.getAsExpr(), EllipsisLoc); in ActOnPackExpansion()
1088 = cast<PackExpansionExpr>(Argument.getAsExpr()); in getTemplateArgumentPackExpansionPattern()
1133 dyn_cast<SubstNonTypeTemplateParmPackExpr>(Arg.getAsExpr())) in getFullyPackExpandedSize()
1135 else if (auto *Subst = dyn_cast<FunctionParmPackExpr>(Arg.getAsExpr())) { in getFullyPackExpandedSize()
DSemaTemplateDeduction.cpp302 X.getAsExpr()->Profile(ID1, Context, true); in checkDeducedTemplateArguments()
303 Y.getAsExpr()->Profile(ID2, Context, true); in checkDeducedTemplateArguments()
2402 getDeducedParameterFromExpr(Info, Param.getAsExpr())) { in DeduceTemplateArguments()
2415 Arg.getAsExpr(), Info, Deduced); in DeduceTemplateArguments()
2614 X.getAsExpr()->Profile(XID, Context, true); in isSameTemplateArg()
2615 Y.getAsExpr()->Profile(YID, Context, true); in isSameTemplateArg()
2702 return TemplateArgumentLoc(Arg, Arg.getAsExpr()); in getTrivialTemplateArgumentLoc()
6143 MarkUsedTemplateParameters(Ctx, TemplateArg.getAsExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
DSemaTemplate.cpp931 Expr *E = static_cast<Expr *>(Arg.getAsExpr()); in translateTemplateArgument()
4099 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Arg.getAsExpr()); in isTemplateArgumentTemplateParameter()
4962 dyn_cast<DependentScopeDeclRefExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument()
4966 dyn_cast<CXXDependentScopeMemberExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument()
5407 CheckTemplateArgument(NTTP, NTTPType, Arg.getArgument().getAsExpr(), in CheckTemplateArgument()
5417 if (Res.get() != Arg.getArgument().getAsExpr()) { in CheckTemplateArgument()
8132 Expr *ArgExpr = Args[I].getAsExpr(); in CheckNonTypeTemplatePartialSpecializationArgs()
DSemaTemplateInstantiate.cpp1455 return Arg.getAsExpr(); in TransformTemplateParmRefExpr()
1529 Expr *argExpr = arg.getAsExpr(); in transformNonTypeTemplateParmRef()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp430 ExprResult Result = ActOnPackExpansion(Arg.getAsExpr(), EllipsisLoc); in ActOnPackExpansion()
913 = cast<PackExpansionExpr>(Argument.getAsExpr()); in getTemplateArgumentPackExpansionPattern()
DSemaTemplateDeduction.cpp216 X.getAsExpr()->Profile(ID1, Context, true); in checkDeducedTemplateArguments()
217 Y.getAsExpr()->Profile(ID2, Context, true); in checkDeducedTemplateArguments()
1754 = getDeducedParameterFromExpr(Param.getAsExpr())) { in DeduceTemplateArguments()
1762 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsExpr(), in DeduceTemplateArguments()
1969 X.getAsExpr()->Profile(XID, Context, true); in isSameTemplateArg()
1970 Y.getAsExpr()->Profile(YID, Context, true); in isSameTemplateArg()
2060 return TemplateArgumentLoc(Arg, Arg.getAsExpr()); in getTrivialTemplateArgumentLoc()
4995 MarkUsedTemplateParameters(Ctx, TemplateArg.getAsExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
DSemaTemplate.cpp513 Expr *E = static_cast<Expr *>(Arg.getAsExpr()); in translateTemplateArgument()
2467 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Arg.getAsExpr()); in isTemplateArgumentTemplateParameter()
3142 if (DeclRefExpr *ArgExpr = dyn_cast<DeclRefExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument()
3146 dyn_cast<DependentScopeDeclRefExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument()
3150 dyn_cast<CXXDependentScopeMemberExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument()
3539 CheckTemplateArgument(NTTP, NTTPType, Arg.getArgument().getAsExpr(), in CheckTemplateArgument()
3546 if (Res.get() != Arg.getArgument().getAsExpr()) { in CheckTemplateArgument()
6073 Expr *ArgExpr = Args[I].getAsExpr(); in CheckNonTypeTemplatePartialSpecializationArgs()
/external/llvm-project/clang/lib/Index/
DIndexDecl.cpp52 IndexCtx.indexBody(LocInfo.getAsExpr(), Parent, DC); in handleTemplateArgumentLoc()
/external/clang/lib/Serialization/
DASTWriter.cpp4883 AddStmt(Arg.getAsExpr()); in AddTemplateArgumentLocInfo()
4912 = Arg.getArgument().getAsExpr() == Arg.getLocInfo().getAsExpr(); in AddTemplateArgumentLoc()
5348 AddStmt(Arg.getAsExpr()); in AddTemplateArgument()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h795 return InnerMatcher.matches(*Node.getAsExpr(), Finder, Builder); in AST_MATCHER_P()

12