[PATCH] D89001: [clang] Don't look into <sysroot> for C++ headers if they are found alongside the toolchain

Dmitry Polukhin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 7 07:16:55 PDT 2023


DmitryPolukhin added a comment.

@dexonsmith thank you for quick response. I think we need to update upstream behaviour to match system compiler behaviour otherwise clang-tools that uses path to compiler binary form CDB will not work as expected and extra options won't help much because it is not easy to inject in some cases. I sent https://reviews.llvm.org/D157283 for review. I got this change by running test agains system compiler and fixing it to match the real behaviour, after that I guessed how exactly this behaviour could be achieved.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89001



More information about the cfe-commits mailing list