1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-10 23:44:29 +00:00
magic_enum/test
Ed Catmur 5367f5183c
Support gcc -fno-pretty-templates (#258)
https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#index-fno-pretty-templates

The gcc option -fno-pretty-templates changes the __PRETTY_FUNCTION__ from e.g.
"auto n() [with E = E]" to "auto n<E>()" (more like MSVC).

Pass the entire __PRETTY_FUNCTION__ / __FUNCSIG__ to pretty_name(), and truncate it there, checking the last character if necessary to determine the format used.
2023-05-13 13:15:23 +04:00
..
3rdparty/Catch2 update catch2 2021-04-14 14:06:52 +03:00
.bazelrc add bzlmod support (#254) 2023-04-26 20:16:08 +04:00
BUILD.bazel add bzlmod support (#254) 2023-04-26 20:16:08 +04:00
CMakeLists.txt Move NONASCII tests to their own file (#261) 2023-05-13 03:44:45 +04:00
meson.build meson: add options and tests (#255) 2023-04-24 23:36:25 +04:00
MODULE.bazel add bzlmod support (#254) 2023-04-26 20:16:08 +04:00
test.cpp Move NONASCII tests to their own file (#261) 2023-05-13 03:44:45 +04:00
test_aliases.cpp Support gcc -fno-pretty-templates (#258) 2023-05-13 13:15:23 +04:00
test_containers.cpp add constexpr containers (#187) 2023-01-17 18:59:37 +04:00
test_flags.cpp Move NONASCII tests to their own file (#261) 2023-05-13 03:44:45 +04:00
test_nonascii.cpp Move NONASCII tests to their own file (#261) 2023-05-13 03:44:45 +04:00
WORKSPACE.bazel add bzlmod support (#254) 2023-04-26 20:16:08 +04:00