llvm-project/clang/tools
Nico Weber 0abcafd8a4 Make clang/test/Index/pch-from-libclang.c pass in more places
- fixes the test on macOS with LLVM_ENABLE_PIC=OFF
- together with D57343, gets the test to pass on Windows
- makes it run everywhere (it seems to just pass on Linux)

The main change is to pull out the resource directory computation into a
function shared by all 3 places that do it. In CIndexer.cpp, this now works no
matter if libclang is in lib/ or bin/ or statically linked to a binary in bin/.


Differential Revision: https://reviews.llvm.org/D57345

llvm-svn: 352803
2019-01-31 22:15:32 +00:00
..
arcmt-test Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
c-arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-index-test Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-check Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-diff Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-extdef-mapping Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-format Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-format-vs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
clang-fuzzer Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-import-test Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-offload-bundler Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-refactor Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-rename Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
diag-build
diagtool Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
driver Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
libclang Make clang/test/Index/pch-from-libclang.c pass in more places 2019-01-31 22:15:32 +00:00
scan-build Update the license header in this man-page file. 2019-01-19 09:24:38 +00:00
scan-build-py Update the license mentioned in this documentation. 2019-01-19 11:48:15 +00:00
scan-view Portable Python script across Python version 2019-01-03 14:26:56 +00:00
CMakeLists.txt [analyzer][CrossTU][NFC] Generalize to external definitions instead of external functions 2019-01-10 17:44:04 +00:00