🎨 Committing clang-format changes

This commit is contained in:
Clang Robot 2026-04-29 02:22:59 +00:00
parent 56506bc111
commit d3c94e4451
8 changed files with 18945 additions and 20012 deletions

View File

@ -9,8 +9,8 @@
#include "../chaiscript_defines.hpp"
#include <iterator>
#include <cstdint>
#include <iterator>
namespace chaiscript {
namespace utility {

View File

@ -15,7 +15,9 @@ namespace chaiscript {
inline constexpr std::uint32_t max_codepoint = 0x10FFFF;
constexpr bool is_surrogate(std::uint32_t cp) noexcept { return cp >= 0xD800 && cp <= 0xDFFF; }
constexpr bool is_surrogate(std::uint32_t cp) noexcept {
return cp >= 0xD800 && cp <= 0xDFFF;
}
// Append cp to out as UTF-8. Returns bytes written, or 0 if cp >= 0x200000.
// Surrogates are not rejected here; callers that care check is_surrogate() first.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,6 @@
#include <clocale>
// lambda_tests
TEST_CASE("C++11 Lambdas Can Be Registered") {
// We cannot deduce the type of a lambda expression, you must either wrap it