diff options
author | Haojian Wu <hokein@google.com> | 2019-01-15 19:05:50 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2019-01-15 19:05:50 +0000 |
commit | d271d918f0d29a600219e2c3bf2e44f9e5736f84 (patch) | |
tree | 529f0c3dce88ca6fb7738da7ee82a1ad16c0e33d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | dc375486b0e8573e3bb2916325673d1ee5114738 (diff) | |
download | llvm-d271d918f0d29a600219e2c3bf2e44f9e5736f84.zip llvm-d271d918f0d29a600219e2c3bf2e44f9e5736f84.tar.gz llvm-d271d918f0d29a600219e2c3bf2e44f9e5736f84.tar.bz2 |
[Tooling] Make clang-tool find libc++ dir on mac when running on a file without compilation database.
Summary:
This is a regression of r348365.
When clang-tools run on a file without a complation database (`clang-check /tmp/t.cc`),
we will use fixed compilation database as a fallback. However the actual compiler
path in the fallback complation command is just `clang-tool` which is
insufficient to detect the libc++ dir.
Reviewers: ilya-biryukov, EricWF
Reviewed By: ilya-biryukov
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D56680
llvm-svn: 351222
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions