Fix source_location for clang

This commit is contained in:
rexy712 2022-02-23 19:57:34 -08:00
parent 7cfe707bc3
commit 700a3484ac

View File

@ -25,7 +25,8 @@
#include <cstdint> //uint_least32_t #include <cstdint> //uint_least32_t
#if __cplusplus >= 202002L //clang bug: https://bugs.llvm.org/show_bug.cgi?id=48886
#if __cplusplus >= 202002L && !defined(__clang__)
#define CONSTEVAL consteval #define CONSTEVAL consteval
#else #else
#define CONSTEVAL constexpr #define CONSTEVAL constexpr