summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/HeaderSourceSwitch.h
Commit message (Collapse)AuthorAgeFilesLines
* [clangd] Implement a smart version of HeaderSource switch.Haojian Wu2019-09-301-0/+10
| | | | | | | | | | | | | | | | | | | Summary: 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; Reviewers: kadircet Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D67907 llvm-svn: 373197
* [clangd] Add missing header guard, NFC.Haojian Wu2019-09-251-0/+5
| | | | llvm-svn: 372860
* [clangd] Move the existing heder-source-switch implemenation out of ↵Haojian Wu2019-09-251-0/+22
clangdServer. Summary: This is a NFC change. Reviewers: kadircet Reviewed By: kadircet Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D67960 llvm-svn: 372841
OpenPOWER on IntegriCloud