Home
last modified time | relevance | path

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 Dmove_if_noexcept.pass.cpp51 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 Dbuiltin-std-move.cpp24 …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 Dbuiltin-std-move-nobuiltin.cpp11 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 Dbuiltin-std-move.cpp5 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 Dmove.h36 move_if_noexcept(_Tp& __x) _NOEXCEPT { in move_if_noexcept() function
/llvm-project-15.0.7/libcxx/test/libcxx/diagnostics/
H A Dnodiscard_extensions.pass.cpp158 std::move_if_noexcept(lv); in test_template_cast_wrappers()
159 std::move_if_noexcept(rv); in test_template_cast_wrappers()
H A Dnodiscard_extensions.verify.cpp306 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 Dutility54 move_if_noexcept(T& x) noexcept; // constexpr in C++14
/llvm-project-15.0.7/clang/docs/CommandGuide/
H A Dclang.rst276 ``-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 Duninitialized_algorithms.h595 …allocator_traits<_Alloc>::construct(__alloc, std::__to_address(__first2), std::move_if_noexcept(*_…
/llvm-project-15.0.7/libcxx/docs/
H A DUsingLibcxx.rst422 * ``move_if_noexcept``
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DStdSymbolMap.inc808 SYMBOL(move_if_noexcept, std::, <utility>)
/llvm-project-15.0.7/clang/docs/
H A DReleaseNotes.rst514 ``std::move_if_noexcept``, ``std::addressof``, and ``std::as_const``. These
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DBuiltins.def1563 LIBBUILTIN(move_if_noexcept, "v&v&", "zfncTh", "utility", CXX_LANG)