Searched refs:CtorArg (Results 1 – 3 of 3) 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()
287 TEST_F(StringMapTest, CtorArg) { in TEST_F() argument
3490 ExprResult CtorArg in BuildImplicitMemberInitializer() local3500 if (CtorArg.isInvalid()) in BuildImplicitMemberInitializer()3506 if (RefersToRValueRef(CtorArg.get())) { in BuildImplicitMemberInitializer()3507 CtorArg = CastForMoving(SemaRef, CtorArg.get()); in BuildImplicitMemberInitializer()3546 CtorArg = SemaRef.CreateBuiltinArraySubscriptExpr(CtorArg.get(), Loc, in BuildImplicitMemberInitializer()3549 if (CtorArg.isInvalid()) in BuildImplicitMemberInitializer()3557 CtorArg = CastForMoving(SemaRef, CtorArg.get()); in BuildImplicitMemberInitializer()3577 Expr *CtorArgE = CtorArg.getAs<Expr>(); in BuildImplicitMemberInitializer()