Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx2a-consteval.cpp294 consteval const A &to_lvalue_ref(const A &&a) { in to_lvalue_ref() function
313 { int k = const_a_ref(to_lvalue_ref(A().ret_a())); } in test()
314 { int k = const_a_ref(to_lvalue_ref(std::move(a))); } in test()
316 { int k = by_value_a(to_lvalue_ref(std::move(a))); } in test()
351 consteval const A &to_lvalue_ref(const A &&a) { in to_lvalue_ref() function
362 { A k = to_lvalue_ref(A().ret_a()); } in test()
379 { int k = const_a_ref(to_lvalue_ref(A().ret_a())); } in test()
570 constexpr const Copy &to_lvalue_ref(const Copy &&a) { in to_lvalue_ref() function
583 { Copy c(to_lvalue_ref(std::move(C))); } in test()
590 { Copy c = Copy(to_lvalue_ref(std::move(C))); } in test()
[all …]