================
@@ -236,6 +236,7 @@ FEATURE(shadow_call_stack,
 FEATURE(tls, PP.getTargetInfo().isTLSSupported())
 FEATURE(underlying_type, LangOpts.CPlusPlus)
 FEATURE(experimental_library, LangOpts.ExperimentalLibrary)
+FEATURE(datasizeof, LangOpts.CPlusPlus)
----------------
AaronBallman wrote:

Oh my. That behavior makes sense, but is really not helpful in this case.

You could use compiler version macro checks instead of `__has_extension`. 
That's pretty gross and likely easy to forget, but would it be a viable 
workaround?

https://github.com/llvm/llvm-project/pull/67805
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to