Home
last modified time | relevance | path

Searched refs:CtorArg (Results 1 – 3 of 3) sorted by relevance

/external/clang/test/CXX/basic/basic.types/
Dp10.cpp86 struct CtorArg { struct
87 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()
/external/llvm/unittests/ADT/
DStringMapTest.cpp287 TEST_F(StringMapTest, CtorArg) { in TEST_F() argument
/external/clang/lib/Sema/
DSemaDeclCXX.cpp3490 ExprResult CtorArg in BuildImplicitMemberInitializer() local
3500 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()