summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/unittests/CompileCommandsTests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clangd] Try to fix CompileCommandsTests on windows. NFCSam McCall2019-12-061-14/+17
|
* [clangd] (take 2) Try harder to find a plausible `clang` as argv0, ↵Sam McCall2019-12-061-0/+99
particularly on Mac. Summary: This was originally committed in 88bccded8fa169481fa367debf5ec615640635a1, and reverted in 93f77617abba512d2861e2fc50ce385883f587b6. This version is now much more testable: the "detect toolchain properties" part is still not tested but also not active in tests. All the command manipulation based on the detected properties is directly tested, and also not active in other tests. Fixes https://github.com/clangd/clangd/issues/211 Fixes https://github.com/clangd/clangd/issues/178 Reviewers: kbobyrev, ilya-biryukov Subscribers: mgorny, ormris, cfe-commits, usaxena95, kadircet, arphaman, jkorous, MaskRay Tags: #clang Differential Revision: https://reviews.llvm.org/D71029
OpenPOWER on IntegriCloud