MaskRay added a comment.

In D73500#1846036 <https://reviews.llvm.org/D73500#1846036>, @arphaman wrote:

> In D73500#1846003 <https://reviews.llvm.org/D73500#1846003>, @MaskRay wrote:
>
> > Should they use -nostdlibinc instead?
>
>
> Unfortunately they can't control the flag in this specific case, only add 
> flags for specific files.


To make sure I understand it correctly.

There is a project using `-nostdinc`. It still accesses intrinsics headers, so 
`-ibuiltininc` is added to make it work. The new option requires a new release 
of clang. Is it really more convenient adding a new option than teaching the 
project to use `-nostdlibinc` instead of `-nostdinc`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73500



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to