[PATCH] D54872: [clangd] Add ability to not use -resource-dir at all

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 26 03:45:48 PST 2018


ilya-biryukov added a comment.

We have to point clangd into the resource dir, corresponding to the version of the headers it was built with. It's important we pick the exact version of the built-in headers that clangd was built for.
Note that resource-dir should **only** be used for the built-in headers, any compiler-specific libraries should be found using other flags. Could you provide an example clang-cl commands that it breaks with?


Repository:
  rCTE Clang Tools Extra

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

https://reviews.llvm.org/D54872





More information about the cfe-commits mailing list