[clang] [clang]: implement std::meta::is_type (PR #211653)
Ambrose Leeb via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 16 08:59:25 PDT 2026
================
@@ -766,6 +766,10 @@ static void InitializeCPlusPlusFeatureTestMacros(const LangOptions &LangOpts,
Builder.defineMacro("__cpp_variadic_friend", "202403L");
Builder.defineMacro("__cpp_trivial_relocatability", "202502L");
+ // C++26 reflection.
+ if (LangOpts.Reflection)
+ Builder.defineMacro("__cpp_impl_reflection", "202506L");
----------------
Sirraide wrote:
I don’t believe we should define this until reflexion is _fully_ implemented and tested. This is what we’ve been doing for other language features and their feature-test macros
https://github.com/llvm/llvm-project/pull/211653
More information about the cfe-commits
mailing list