/external/llvm-project/clang/test/CXX/over/over.match/over.match.funcs/ |
D | p4-0x.cpp | 5 template<typename T> T prvalue(); 54 float &fr2 = prvalue<X0>().f(); in test_ref_qualifier_binding() 57 float &fr4 = prvalue<X0>().ft(3); in test_ref_qualifier_binding() 63 float &fr2 = prvalue<X0>()(); in test_ref_qualifier_binding_with_surrogates() 67 int &ir1 = lvalue<X0>() + prvalue<X0>(); in test_ref_qualifier_binding_operators() 68 float &fr1 = xvalue<X0>() + prvalue<X0>(); in test_ref_qualifier_binding_operators() 69 float &fr2 = prvalue<X0>() + prvalue<X0>(); in test_ref_qualifier_binding_operators() 72 float &fr4 = prvalue<X0>() + 3; in test_ref_qualifier_binding_operators() 78 float &fr2 = prvalue<X0>().h(); in test_ref_qualifier_overloading() 81 float &fr4 = prvalue<X0>().h2(); in test_ref_qualifier_overloading() [all …]
|
/external/clang/test/CXX/over/over.match/over.match.funcs/ |
D | p4-0x.cpp | 6 template<typename T> T prvalue(); 43 float &fr2 = prvalue<X0>().f(); in test_ref_qualifier_binding() 46 float &fr4 = prvalue<X0>().ft(3); in test_ref_qualifier_binding() 52 float &fr2 = prvalue<X0>()(); in test_ref_qualifier_binding_with_surrogates() 56 int &ir1 = lvalue<X0>() + prvalue<X0>(); in test_ref_qualifier_binding_operators() 57 float &fr1 = xvalue<X0>() + prvalue<X0>(); in test_ref_qualifier_binding_operators() 58 float &fr2 = prvalue<X0>() + prvalue<X0>(); in test_ref_qualifier_binding_operators() 61 float &fr4 = prvalue<X0>() + 3; in test_ref_qualifier_binding_operators() 67 float &fr2 = prvalue<X0>().h(); in test_ref_qualifier_overloading() 70 float &fr4 = prvalue<X0>().h2(); in test_ref_qualifier_overloading()
|
/external/llvm-project/clang/test/CXX/expr/expr.post/expr.static.cast/ |
D | p3-p4-0x.cpp | 19 template <typename T> T prvalue(); 22 A &&ar0 = static_cast<A&&>(prvalue<A>()); in test() 23 A &&ar1 = static_cast<A&&>(prvalue<B>()); in test() 26 A &&ar4 = static_cast<A&&>(prvalue<C>()); in test() 29 A &&ar7 = static_cast<A&&>(prvalue<D>()); in test() 31 …A &&ar8 = static_cast<A&&>(prvalue<const A>()); // expected-error {{binding reference of type 'A' … in test() 35 const A &&ar11 = static_cast<const A&&>(prvalue<A>()); in test() 36 const A &&ar12 = static_cast<const A&&>(prvalue<B>()); in test() 39 const A &&ar15 = static_cast<const A&&>(prvalue<C>()); in test() 42 …const A &&ar17 = static_cast<const A&&>(prvalue<A const volatile>()); // expected-error {{binding … in test()
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
D | p5-0x.cpp | 5 template<typename T> T prvalue(); 34 Base&& base2 = prvalue<Base>(); in test_rvalue_refs() 35 Base&& base3 = prvalue<Derived>(); in test_rvalue_refs() 78 NonCopyable &&nc0 = prvalue<NonCopyable>(); in test_direct_binding() 79 NonCopyable &&nc1 = prvalue<NonCopyableDerived>(); in test_direct_binding() 82 const NonCopyable &nc4 = prvalue<NonCopyable>(); in test_direct_binding() 83 const NonCopyable &nc5 = prvalue<NonCopyableDerived>(); in test_direct_binding() 146 base_rvalue_ref(prvalue<Base>()); in test() 147 base_rvalue_ref(prvalue<Derived>()); in test()
|
/external/llvm-project/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
D | p5-0x.cpp | 5 template<typename T> T prvalue(); 34 Base&& base2 = prvalue<Base>(); in test_rvalue_refs() 35 Base&& base3 = prvalue<Derived>(); in test_rvalue_refs() 78 NonCopyable &&nc0 = prvalue<NonCopyable>(); in test_direct_binding() 79 NonCopyable &&nc1 = prvalue<NonCopyableDerived>(); in test_direct_binding() 82 const NonCopyable &nc4 = prvalue<NonCopyable>(); in test_direct_binding() 83 const NonCopyable &nc5 = prvalue<NonCopyableDerived>(); in test_direct_binding() 146 base_rvalue_ref(prvalue<Base>()); in test() 147 base_rvalue_ref(prvalue<Derived>()); in test()
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
D | p3-0x.cpp | 13 template<typename T> T prvalue(); 18 X<int> xi0 = f0(prvalue<int>()); in test_f0() 21 X<Y> xy0 = f0(prvalue<Y>()); in test_f0() 30 X<int> xi0 = f1(prvalue<int>()); in test_f1() 33 X<Y> xy0 = f1(prvalue<Y>()); in test_f1()
|
/external/clang/test/CXX/expr/expr.post/expr.const.cast/ |
D | p1-0x.cpp | 13 template<typename T> T prvalue(); 18 …int *&&ptr2 = const_cast<int *&&>(prvalue<const int*>()); // expected-error {{const_cast from rval… in test_classification() 21 X &&ptr5 = const_cast<X&&>(prvalue<X>()); in test_classification() 25 …int *&ptr8 = const_cast<int *&>(prvalue<const int*>()); // expected-error {{const_cast from rvalue… in test_classification() 28 …X &ptrB = const_cast<X&>(prvalue<X>()); // expected-error {{const_cast from rvalue to reference ty… in test_classification()
|
/external/llvm-project/clang/test/CXX/expr/expr.post/expr.const.cast/ |
D | p1-0x.cpp | 13 template<typename T> T prvalue(); 18 …int *&&ptr2 = const_cast<int *&&>(prvalue<const int*>()); // expected-error {{const_cast from rval… in test_classification() 21 X &&ptr5 = const_cast<X&&>(prvalue<X>()); in test_classification() 25 …int *&ptr8 = const_cast<int *&>(prvalue<const int*>()); // expected-error {{const_cast from rvalue… in test_classification() 28 …X &ptrB = const_cast<X&>(prvalue<X>()); // expected-error {{const_cast from rvalue to reference ty… in test_classification()
|
/external/clang/test/CXX/expr/expr.mptr.oper/ |
D | p6-0x.cpp | 7 template<typename T> T prvalue(); 20 (prvalue<X>().*pmf)(17); in test() 26 …(prvalue<X>().*l_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){… in test() 32 (prvalue<X>().*r_pmf)(17); in test()
|
/external/llvm-project/clang/test/CXX/expr/expr.mptr.oper/ |
D | p6-0x.cpp | 7 template<typename T> T prvalue(); 20 (prvalue<X>().*pmf)(17); in test() 26 …(prvalue<X>().*l_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){… in test() 32 (prvalue<X>().*r_pmf)(17); in test()
|
/external/llvm-project/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
D | p3-0x.cpp | 43 template<typename T> T prvalue(); 48 X<int> xi0 = f0(prvalue<int>()); in test_f0() 51 X<Y> xy0 = f0(prvalue<Y>()); in test_f0() 60 X<int> xi0 = f1(prvalue<int>()); in test_f1() 63 X<Y> xy0 = f1(prvalue<Y>()); in test_f1()
|
/external/llvm-project/clang/test/AST/ |
D | ast-dump-recovery.cpp | 236 int prvalue(int); 241 …prvalue(); // call to a function (nonreference return type) yields a prvalue (not print by default) in ValueCategory()
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
D | p2-generic-lambda-1y.cpp | 4 void prvalue() { in prvalue() function
|
D | p2.cpp | 4 void prvalue() { in prvalue() function
|
/external/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
D | p2-generic-lambda-1y.cpp | 4 void prvalue() { in prvalue() function
|
D | p2.cpp | 4 void prvalue() { in prvalue() function
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | modernize-pass-by-value.rst | 23 foo(get_str()); // prvalue -> move construction
|
/external/llvm-project/clang/docs/ |
D | MatrixTypes.rst | 102 undefined behavior. If ``E1`` is a prvalue, the result is a prvalue with type
|
D | LanguageExtensions.rst | 1223 Returns true if ``e`` is a prvalue expression.
|