[PATCH] D159064: [Modules] Make clang modules for the C standard library headers
Ian Anderson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 7 12:06:46 PDT 2023
iana marked 2 inline comments as done.
iana added inline comments.
================
Comment at: clang/lib/Headers/module.modulemap:269
+ explicit module wint_t {
+ header "__stddef_wint_t.h"
+ export *
----------------
Arguably this should be textual since stddef.h shouldn't own wint_t and it's just here for compatibility. Otherwise I think the ODR would force wchar.h to define need_wint and include stddef.h which is kind of weird?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159064/new/
https://reviews.llvm.org/D159064
More information about the cfe-commits
mailing list