1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

Everywhere: Remove 'clang-format off' comments that are no longer needed

https://github.com/SerenityOS/serenity/pull/15654#issuecomment-1322554496
This commit is contained in:
Linus Groh 2022-11-27 12:12:02 +01:00
parent d26aabff04
commit babfc13c84
7 changed files with 1 additions and 21 deletions

View file

@ -30,10 +30,6 @@ requires(AK::Detail::IsIntegral<T>)
return value && !((value) & (value - 1));
}
// HACK: clang-format does not format this correctly because of the requires clause above.
// Disabling formatting for that doesn't help either.
//
// clang-format off
#ifndef AK_DONT_REPLACE_STD
namespace std { // NOLINT(cert-dcl58-cpp) Names in std to aid tools
@ -60,9 +56,8 @@ constexpr T&& move(T& arg)
}
#else
#include <utility>
# include <utility>
#endif
// clang-format on
using std::forward;
using std::move;