Searched refs:move_if_noexcept (Results 1 – 14 of 14) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/forward/ |
| H A D | move_if_noexcept.pass.cpp | 51 static_assert((std::is_same<decltype(std::move_if_noexcept(i)), int&&>::value), ""); in main() 52 static_assert((std::is_same<decltype(std::move_if_noexcept(ci)), const int&&>::value), ""); in main() 53 static_assert((std::is_same<decltype(std::move_if_noexcept(a)), A&&>::value), ""); in main() 54 static_assert((std::is_same<decltype(std::move_if_noexcept(ca)), const A&&>::value), ""); in main() 55 static_assert((std::is_same<decltype(std::move_if_noexcept(l)), const legacy&>::value), ""); in main() 59 constexpr int i2 = std::move_if_noexcept(i1); in main()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | builtin-std-move.cpp | 24 …template<typename T> CONSTEXPR auto move_if_noexcept(T &x) -> typename ref<T, noexcept(T(static_ca… in move_if_noexcept() function 67 A &&move_if_noexcept = std::move_if_noexcept(a); in f() 73 return &move == &a && &move_if_noexcept == &a && in f() 93 B &&(*pMoveIfNoexcept)(B&) = &std::move_if_noexcept; // #2 expected-note {{instantiation of}} 128 std::move_if_noexcept(n); // expected-warning {{ignoring return value}} in attribute_const()
|
| H A D | builtin-std-move-nobuiltin.cpp | 11 template<typename T> constexpr T &&move_if_noexcept(T &x) { return (T&&)nobuiltin; } in move_if_noexcept() function 19 static_assert(addr(std::move_if_noexcept(builtin)) == &BUILTIN);
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | builtin-std-move.cpp | 5 template<typename T> constexpr T &&move_if_noexcept(T &val); 23 T &&move_if_noexcept_a = std::move_if_noexcept(a); 36 take(std::move_if_noexcept(t)); in test()
|
| /llvm-project-15.0.7/libcxx/include/__utility/ |
| H A D | move.h | 36 move_if_noexcept(_Tp& __x) _NOEXCEPT { in move_if_noexcept() function
|
| /llvm-project-15.0.7/libcxx/test/libcxx/diagnostics/ |
| H A D | nodiscard_extensions.pass.cpp | 158 std::move_if_noexcept(lv); in test_template_cast_wrappers() 159 std::move_if_noexcept(rv); in test_template_cast_wrappers()
|
| H A D | nodiscard_extensions.verify.cpp | 306 std::move_if_noexcept(lv); in test_template_cast_wrappers() 308 std::move_if_noexcept(rv); in test_template_cast_wrappers()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | utility | 54 move_if_noexcept(T& x) noexcept; // constexpr in C++14
|
| /llvm-project-15.0.7/clang/docs/CommandGuide/ |
| H A D | clang.rst | 276 ``-fno-builtin-std-move_if_noexcept`` removes any special handling for the 277 :cpp:func:`std::move_if_noexcept` library function.
|
| /llvm-project-15.0.7/libcxx/include/__memory/ |
| H A D | uninitialized_algorithms.h | 595 …allocator_traits<_Alloc>::construct(__alloc, std::__to_address(__first2), std::move_if_noexcept(*_…
|
| /llvm-project-15.0.7/libcxx/docs/ |
| H A D | UsingLibcxx.rst | 422 * ``move_if_noexcept``
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/ |
| H A D | StdSymbolMap.inc | 808 SYMBOL(move_if_noexcept, std::, <utility>)
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | ReleaseNotes.rst | 514 ``std::move_if_noexcept``, ``std::addressof``, and ``std::as_const``. These
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Builtins.def | 1563 LIBBUILTIN(move_if_noexcept, "v&v&", "zfncTh", "utility", CXX_LANG)
|