[PATCH] D159383: [Headers] Remove musl-related comment about NULL

Rich Felker via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 3 07:55:07 PDT 2023


dalias added a comment.

musl targets **already** have the libc header path before the compiler header path in a BSD-like configuration (the BSDs also have this order on GCC and I would assume on clang as well), so if the compiler-provided `stddef.h` is getting seen at all, there's either a bug in clang's path logic or (more likely) user error, like trying to use musl with a non-musl target tuple, no "system headers" path, and simple `-I` to point at the musl headers.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159383



More information about the cfe-commits mailing list