[PATCH] D62804: [clangd] Enable extraction of system includes from custom toolchains
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 3 01:43:39 PDT 2019
kadircet created this revision.
kadircet added a reviewer: sammccall.
Herald added subscribers: cfe-commits, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.
Some custom toolchains come with their own header files and compiler
drivers. Those compiler drivers implicitly know about include search path for
those headers. This patch aims to extract that information from drivers and add
it to the command line when invoking clang frontend.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D62804
Files:
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/ClangdServer.h
clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
clang-tools-extra/clangd/GlobalCompilationDatabase.h
clang-tools-extra/clangd/test/system-include-extractor.test
clang-tools-extra/clangd/tool/ClangdMain.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62804.202663.patch
Type: text/x-patch
Size: 12408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190603/b4912836/attachment.bin>
More information about the cfe-commits
mailing list