[all-commits] [llvm/llvm-project] 88bccd: [clangd] Try harder to find a plausible `clang` as...
Sam McCall via All-commits
all-commits at lists.llvm.org
Mon Dec 2 07:17:59 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 88bccded8fa169481fa367debf5ec615640635a1
https://github.com/llvm/llvm-project/commit/88bccded8fa169481fa367debf5ec615640635a1
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2019-12-02 (Mon, 02 Dec 2019)
Changed paths:
M clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
M clang-tools-extra/clangd/unittests/BackgroundIndexTests.cpp
M clang-tools-extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp
Log Message:
-----------
[clangd] Try harder to find a plausible `clang` as argv0, particularly on Mac.
Summary:
Fixes https://github.com/clangd/clangd/issues/211
Fixes https://github.com/clangd/clangd/issues/178
No tests - this is hard to test, and basically impossible to verify what we want
(this produces compile commands that work on a real mac with recent toolchain)
(Need someone on mac to verify it actually fixes these!)
Reviewers: kbobyrev, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70863
More information about the All-commits
mailing list