]> granicus.if.org Git - clang/commit
Reapply [Tooling] Make clang-tool find libc++ dir on mac when running on a file witho...
authorSam McCall <sam.mccall@gmail.com>
Wed, 16 Jan 2019 09:41:26 +0000 (09:41 +0000)
committerSam McCall <sam.mccall@gmail.com>
Wed, 16 Jan 2019 09:41:26 +0000 (09:41 +0000)
commit2e18df9c488cbf1d1979a04e5c6f277bf31e45fb
tree9c7e74a647db2baee5795b6ea3f25e52de88ad76
parentb2a2c16ea136faa51a5307f742dbafe8f7b3861e
Reapply [Tooling] Make clang-tool find libc++ dir on mac when running on a file without compilation database.

This reverts commit r351282, and re-lands r351222 and r351229 with the
use-after-free fixed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351316 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Tooling/CompilationDatabase.cpp
test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp [new file with mode: 0644]
unittests/Tooling/CompilationDatabaseTest.cpp