summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TextAPI
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2019-03-08 08:38:25 +0000
committerKadir Cetinkaya <kadircet@google.com>2019-03-08 08:38:25 +0000
commit65944ab50d650e4fde6eb008835644c9c9770e90 (patch)
tree39606b9e3d44fba0b4376ab4faf067953c021347 /llvm/lib/TextAPI
parente7eb27a9a0edd859de49bcc9af7ca27dbb435886 (diff)
downloadbcm5719-llvm-65944ab50d650e4fde6eb008835644c9c9770e90.tar.gz
bcm5719-llvm-65944ab50d650e4fde6eb008835644c9c9770e90.zip
[clangd] Adjust compile commands to be applicable for tooling
Summary: As can be seen in https://github.com/llvm-mirror/clang/blob/master/lib/Tooling/Tooling.cpp#L385 clang tool invocations adjust commands normally like this. In clangd we have different code paths for invoking a frontend action(preamble builds, ast builds, background index, clangd-indexer) they all work on the same GlobalCompilationDatabase abstraction, but later on are subject to different modifications. This patch makes sure all of the clangd actions make use of the same compile commands before invocation. Enables background-index to work on chromium codebase(since they had dependency file output in their compile commands). Reviewers: gribozavr, hokein Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, jdoerfert, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D59086 llvm-svn: 355669
Diffstat (limited to 'llvm/lib/TextAPI')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud