[PATCH] D137043: [clang] add implicit include for Linux/gnu compatibility

Aaron Puchert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 17 15:22:44 PST 2022


aaronpuchert added a comment.

This include-if-exists mechanism seems brittle to me. Can we not make it dependent on the triple, i.e. include the file if we're using a libc implementation that's known to provide (and require) this file?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137043



More information about the cfe-commits mailing list