[clang] [Clang] Add __datasizeof (PR #67805)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 13 11:35:20 PDT 2023


================
@@ -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)
----------------
philnik777 wrote:

The problem with `EXTENSION` is that it's influenced by `-pedantic-errors`, which makes it pretty much useless for standard libraries.

https://github.com/llvm/llvm-project/pull/67805


More information about the cfe-commits mailing list