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 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 );