[clangd] Move the existing heder-source-switch implemenation out of clangdServer.
authorHaojian Wu <hokein@google.com>
Wed, 25 Sep 2019 10:30:22 +0000 (10:30 +0000)
committerHaojian Wu <hokein@google.com>
Wed, 25 Sep 2019 10:30:22 +0000 (10:30 +0000)
commite259a5fd0dbd4065c6f64393016340f052da3a9c
tree6638c49acd35966d5d0969d30633223cd5f98d0b
parentb73e3ca39aab58d3231cac353b919c63987cc65f
[clangd] Move the existing heder-source-switch implemenation out of 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
clang-tools-extra/clangd/CMakeLists.txt
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/HeaderSourceSwitch.cpp [new file with mode: 0644]
clang-tools-extra/clangd/HeaderSourceSwitch.h [new file with mode: 0644]
clang-tools-extra/clangd/unittests/CMakeLists.txt
clang-tools-extra/clangd/unittests/ClangdTests.cpp
clang-tools-extra/clangd/unittests/HeaderSourceSwitchTests.cpp [new file with mode: 0644]