aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/CompilationDatabaseTest.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2018-04-09 15:09:44 +0000
committerHaojian Wu <hokein@google.com>2018-04-09 15:09:44 +0000
commite9a5a2f10ca1d04fbf06b50dcb052711b8ddb1e7 (patch)
tree472e3ff946f416405d10bd79acabc8507c5aac36 /clang/unittests/Tooling/CompilationDatabaseTest.cpp
parent935474fef57d9bf57cd7faca0deb1f2b0ce3e8c3 (diff)
downloadllvm-e9a5a2f10ca1d04fbf06b50dcb052711b8ddb1e7.zip
llvm-e9a5a2f10ca1d04fbf06b50dcb052711b8ddb1e7.tar.gz
llvm-e9a5a2f10ca1d04fbf06b50dcb052711b8ddb1e7.tar.bz2
[clangd] Allow using customized include path in URI.
Summary: Calculating the include path from absolute file path does not always work for all build system, e.g. bazel uses symlink as the build working directory. The absolute file path from editor and clang is diverged from each other. We need to address it properly in build sysmtem integration. This patch worksarounds the issue by providing a hook in URI which allows clients to provide their customized include path. Reviewers: sammccall Subscribers: klimek, ilya-biryukov, jkorous-apple, ioeric, MaskRay, cfe-commits Differential Revision: https://reviews.llvm.org/D45426 llvm-svn: 329578
Diffstat (limited to 'clang/unittests/Tooling/CompilationDatabaseTest.cpp')
0 files changed, 0 insertions, 0 deletions