================ @@ -16,7 +16,8 @@ #define _NULLPTR_T #ifdef __cplusplus -#if defined(_MSC_EXTENSIONS) && defined(_NATIVE_NULLPTR_SUPPORTED) +#if __cplusplus >= 201103L || \ + (defined(_MSC_EXTENSIONS) && defined(_NATIVE_NULLPTR_SUPPORTED)) ---------------- philnik777 wrote:
libc++ provides `nullptr_t` in all language modes. It would be really nice if we could remove our `stddef.h` header, but I'm not sure how the Clang headers would detect whether to provide it or not in C++03. https://github.com/llvm/llvm-project/pull/154599 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits