From 62b04bffa57140564d1501d662d99a50a98c5992 Mon Sep 17 00:00:00 2001 From: Francois Bonneau Date: Mon, 16 Mar 2026 14:24:23 +0100 Subject: [PATCH 1/2] feat(String): define EOL and SPACE. --- include/geode/basic/string.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/geode/basic/string.hpp b/include/geode/basic/string.hpp index 9e333b88c..13299c6a1 100644 --- a/include/geode/basic/string.hpp +++ b/include/geode/basic/string.hpp @@ -27,6 +27,9 @@ namespace geode { + inline constexpr char EOL{ '\n' }; + inline constexpr char SPACE{ ' ' }; + [[nodiscard]] std::vector< std::string_view > opengeode_basic_api string_split( std::string_view string ); From 1cecab0cf4f7a0e3005437dc8aaf40240076fd4e Mon Sep 17 00:00:00 2001 From: francoisbonneau <24669995+francoisbonneau@users.noreply.github.com> Date: Mon, 16 Mar 2026 13:26:40 +0000 Subject: [PATCH 2/2] Apply prepare changes --- .clang-tidy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 48ceeace8..81305706c 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -24,7 +24,7 @@ CheckOptions: - key: readability-identifier-length.MinimumLoopCounterNameLength value: 1 - key: readability-identifier-length.IgnoredVariableNames - value: "^[defijkptuvw]$" + value: "^[_defijkptuvw]$" # More options here: https://clang.llvm.org/extra/clang-tidy/checks/readability/identifier-naming.html - key: readability-identifier-naming.NamespaceCase value: lower_case