[PATCH] D67907: [clangd] Implement a smart version of HeaderSource switch.
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 23 04:40:10 PDT 2019
hokein created this revision.
hokein added a reviewer: kadircet.
Herald added subscribers: usaxena95, arphaman, jkorous, MaskRay, ilya-biryukov, mgorny.
Herald added a project: clang.
hokein updated this revision to Diff 221288.
hokein added a comment.
Cleanup.
This patch implements another version header-source switch by incorporating the
AST and index, it will be used:
- to improve the current header-source switch feature (layer with the existing file heuristic);
- by the incoming define-outline code action;
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D67907
Files:
clang-tools-extra/clangd/CMakeLists.txt
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/HeaderSourceSwitch.cpp
clang-tools-extra/clangd/HeaderSourceSwitch.h
clang-tools-extra/clangd/unittests/CMakeLists.txt
clang-tools-extra/clangd/unittests/HeaderSourceSwitchTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67907.221288.patch
Type: text/x-patch
Size: 12353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190923/5ae32ec0/attachment.bin>
More information about the cfe-commits
mailing list