[PATCH] D157331: [clang] Implement C23 <stdckdint.h>

Zijun Zhao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 16 16:35:22 PDT 2023


ZijunZhao added inline comments.


================
Comment at: clang/test/C/C2x/n2359.c:40
+#error "__STDC_VERSION_STDCKDINT_H__ not defined"
+// expected-error at -1 {{"__STDC_VERSION_STDCKDINT_H__ not defined"}}
+#endif
----------------
enh wrote:
> don't you need another test somewhere that this _is_ defined under some circumstances? (and a definition in the header itself!)
I follow the cases like `__STDC_VERSION_LIMITS_H__` and `__STDC_VERSION_STDATOMIC_H__` . They are not defined in the <limits.h> or <stdatomic.h>. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157331



More information about the cfe-commits mailing list