Home
last modified time | relevance | path

Searched refs:CtorArg (Results 1 – 6 of 6) 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-project/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.cpp315 TEST_F(StringMapTest, CtorArg) { in TEST_F() argument
/external/llvm-project/llvm/unittests/ADT/
DStringMapTest.cpp361 TEST_F(StringMapTest, CtorArg) { in TEST_F() argument
/external/clang/lib/Sema/
DSemaDeclCXX.cpp3466 ExprResult CtorArg in BuildImplicitMemberInitializer() local
3476 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()
/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp4714 ExprResult CtorArg in BuildImplicitMemberInitializer() local
4724 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()