diff options
author | Sam McCall <sam.mccall@gmail.com> | 2021-08-06 12:07:13 +0200 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2021-08-13 00:36:30 +0200 |
commit | 2ff7ca98a99bbfc4f44b8ba1e2e4e594f8ee253e (patch) | |
tree | ca2c9e01e86412bbb8c1235151578608d3e7c44b /clang/lib/Frontend/DependencyFile.cpp | |
parent | 6b28835b3754aa3b795e7684b3e7f465b516f753 (diff) | |
download | llvm-2ff7ca98a99bbfc4f44b8ba1e2e4e594f8ee253e.zip llvm-2ff7ca98a99bbfc4f44b8ba1e2e4e594f8ee253e.tar.gz llvm-2ff7ca98a99bbfc4f44b8ba1e2e4e594f8ee253e.tar.bz2 |
[clangd] Avoid "expected one compiler job" by picking the first eligible job.
This happens in createInvocationWithCommandLine but only clangd currently passes
ShouldRecoverOnErorrs (sic).
One cause of this (with correct command) is several -arch arguments for mac
multi-arch support.
Fixes https://github.com/clangd/clangd/issues/827
Differential Revision: https://reviews.llvm.org/D107632
Diffstat (limited to 'clang/lib/Frontend/DependencyFile.cpp')
0 files changed, 0 insertions, 0 deletions