CUDA, CXX, OBJCXX: C++23 support with Clang 12

Clang 12 landed initial support for C++23 language mode flag -std={c|gnu}++2b
in commit 6627a3c2873fdf7ccba1a1573371079be48b36e8.
This commit is contained in:
Raul Tambre
2020-12-04 17:46:07 +02:00
parent af7e1545c8
commit 9f3c70a333
20 changed files with 76 additions and 15 deletions

View File

@@ -18,7 +18,11 @@ struct Outputter;
# define CXX_STD __cplusplus
#endif
#if DEFAULT_CXX20
#if DEFAULT_CXX23
# if CXX_STD <= 202002L
Outputter<CXX_STD> o;
# endif
#elif DEFAULT_CXX20
# if CXX_STD <= 201703L
Outputter<CXX_STD> o;
# endif