Searched refs:CtorArg (Results 1 – 6 of 6) sorted by relevance
86 struct CtorArg { struct87 constexpr CtorArg(T);89 constexpr int f(CtorArg<int>) { return 0; } // ok in f()90 constexpr int f(CtorArg<NonLiteral>) { return 0; } // ok, ctor is still constexpr in f()
315 TEST_F(StringMapTest, CtorArg) { in TEST_F() argument
361 TEST_F(StringMapTest, CtorArg) { in TEST_F() argument
3466 ExprResult CtorArg in BuildImplicitMemberInitializer() local3476 if (CtorArg.isInvalid()) in BuildImplicitMemberInitializer()3482 if (RefersToRValueRef(CtorArg.get())) { in BuildImplicitMemberInitializer()3483 CtorArg = CastForMoving(SemaRef, CtorArg.get()); in BuildImplicitMemberInitializer()3522 CtorArg = SemaRef.CreateBuiltinArraySubscriptExpr(CtorArg.get(), Loc, in BuildImplicitMemberInitializer()3525 if (CtorArg.isInvalid()) in BuildImplicitMemberInitializer()3533 CtorArg = CastForMoving(SemaRef, CtorArg.get()); in BuildImplicitMemberInitializer()3553 Expr *CtorArgE = CtorArg.getAs<Expr>(); in BuildImplicitMemberInitializer()
4714 ExprResult CtorArg in BuildImplicitMemberInitializer() local4724 if (CtorArg.isInvalid()) in BuildImplicitMemberInitializer()4730 if (RefersToRValueRef(CtorArg.get())) { in BuildImplicitMemberInitializer()4731 CtorArg = CastForMoving(SemaRef, CtorArg.get()); in BuildImplicitMemberInitializer()4744 Expr *CtorArgE = CtorArg.getAs<Expr>(); in BuildImplicitMemberInitializer()