[PATCH] D157757: [Headers] Replace __need_STDDEF_H_misc with specific __need_ macros

Ian Anderson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 11 15:14:48 PDT 2023


iana added inline comments.


================
Comment at: clang/test/Headers/stddefneeds.c:85-87
+// __need_nullptr_t generates an error in <C23 because its definition
+// depends on nullptr, but the error gets attributed to the declaration
+// in stddef.h so it can't be `c99-error`d.
----------------
(and the error here)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157757/new/

https://reviews.llvm.org/D157757



More information about the cfe-commits mailing list