[PATCH] D106577: [clang] Define __STDC_ISO_10646__
James Y Knight via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 22 12:18:43 PDT 2021
jyknight added a comment.
I'm not sure we should be populating this.
The _value_ is determined by what libc supports, so it probably needs to be left up to libc to define it.
In glibc, this define is set by the file /usr/include/stdc-predef.h, which GCC implicitly includes into all TUs whether they include libc headers or not. (Clang almost got that feature too in https://reviews.llvm.org/D34158 but it was reverted due to some test failures)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106577/new/
https://reviews.llvm.org/D106577
More information about the cfe-commits
mailing list