refactor: move YYCC_U8 from reinterpret.hpp to string.hpp

- move YYCC_U8 def.
- create shared template in testbench.
This commit is contained in:
2025-07-14 09:13:47 +08:00
parent cec6091996
commit e42a3b6e58
12 changed files with 20 additions and 11 deletions

View File

@ -15,6 +15,14 @@ PRIVATE
yycc/patch/contains.cpp
yycc/patch/starts_ends_with.cpp
)
target_sources(YYCCTestbench
PRIVATE
FILE_SET HEADERS
FILES
shared/parse_template.hpp
shared/stringify_template.hpp
shared/utf_literal.hpp
)
# Setup headers
target_include_directories(YYCCTestbench
PUBLIC

View File

View File

View File

View File

@ -1,7 +1,6 @@
#include <gtest/gtest.h>
#include <yycc.hpp>
#include <yycc/constraint/builder.hpp>
#include <yycc/string/reinterpret.hpp>
#include <yycc/prelude/rust.hpp>

View File

@ -1,7 +1,6 @@
#include <gtest/gtest.h>
#include <yycc.hpp>
#include <yycc/num/parse.hpp>
#include <yycc/string/reinterpret.hpp>
#include <yycc/prelude/rust.hpp>

View File

@ -1,7 +1,6 @@
#include <gtest/gtest.h>
#include <yycc.hpp>
#include <yycc/num/stringify.hpp>
#include <yycc/string/reinterpret.hpp>
#include <yycc/prelude/rust.hpp>

View File

@ -1,7 +1,6 @@
#include <gtest/gtest.h>
#include <yycc.hpp>
#include <yycc/string/op.hpp>
#include <yycc/string/reinterpret.hpp>
#include <yycc/prelude/core.hpp>