[all-commits] [llvm/llvm-project] ad97cc: [clangd] Move non-clang base pieces into separate ...

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Apr 29 07:00:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ad97ccf6b26a29262c9cbf5b3e7f6e84c6dcf55f
      https://github.com/llvm/llvm-project/commit/ad97ccf6b26a29262c9cbf5b3e7f6e84c6dcf55f
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M clang-tools-extra/clangd/CMakeLists.txt
    R clang-tools-extra/clangd/Cancellation.cpp
    R clang-tools-extra/clangd/Cancellation.h
    M clang-tools-extra/clangd/ClangdLSPServer.cpp
    M clang-tools-extra/clangd/ClangdLSPServer.h
    M clang-tools-extra/clangd/ClangdServer.cpp
    M clang-tools-extra/clangd/ClangdServer.h
    M clang-tools-extra/clangd/CodeComplete.cpp
    M clang-tools-extra/clangd/CodeComplete.h
    M clang-tools-extra/clangd/CompileCommands.cpp
    M clang-tools-extra/clangd/Compiler.cpp
    R clang-tools-extra/clangd/Context.cpp
    R clang-tools-extra/clangd/Context.h
    M clang-tools-extra/clangd/Diagnostics.cpp
    M clang-tools-extra/clangd/Diagnostics.h
    M clang-tools-extra/clangd/DraftStore.cpp
    M clang-tools-extra/clangd/DraftStore.h
    M clang-tools-extra/clangd/FS.h
    R clang-tools-extra/clangd/FSProvider.cpp
    R clang-tools-extra/clangd/FSProvider.h
    M clang-tools-extra/clangd/FileDistance.cpp
    M clang-tools-extra/clangd/FindSymbols.cpp
    M clang-tools-extra/clangd/FindTarget.cpp
    M clang-tools-extra/clangd/Format.cpp
    R clang-tools-extra/clangd/Function.h
    M clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
    M clang-tools-extra/clangd/GlobalCompilationDatabase.h
    M clang-tools-extra/clangd/HeaderSourceSwitch.cpp
    M clang-tools-extra/clangd/Headers.cpp
    M clang-tools-extra/clangd/Headers.h
    M clang-tools-extra/clangd/Hover.cpp
    M clang-tools-extra/clangd/IncludeFixer.cpp
    M clang-tools-extra/clangd/JSONTransport.cpp
    R clang-tools-extra/clangd/Logger.cpp
    R clang-tools-extra/clangd/Logger.h
    M clang-tools-extra/clangd/ParsedAST.cpp
    M clang-tools-extra/clangd/ParsedAST.h
    R clang-tools-extra/clangd/Path.h
    M clang-tools-extra/clangd/Preamble.cpp
    M clang-tools-extra/clangd/Preamble.h
    M clang-tools-extra/clangd/Protocol.cpp
    M clang-tools-extra/clangd/QueryDriverDatabase.cpp
    M clang-tools-extra/clangd/Selection.cpp
    M clang-tools-extra/clangd/SemanticHighlighting.cpp
    R clang-tools-extra/clangd/Shutdown.cpp
    R clang-tools-extra/clangd/Shutdown.h
    M clang-tools-extra/clangd/SourceCode.cpp
    M clang-tools-extra/clangd/SourceCode.h
    M clang-tools-extra/clangd/TUScheduler.cpp
    M clang-tools-extra/clangd/TUScheduler.h
    R clang-tools-extra/clangd/Threading.cpp
    R clang-tools-extra/clangd/Threading.h
    R clang-tools-extra/clangd/Trace.cpp
    R clang-tools-extra/clangd/Trace.h
    M clang-tools-extra/clangd/XRefs.cpp
    M clang-tools-extra/clangd/XRefs.h
    M clang-tools-extra/clangd/fuzzer/clangd-fuzzer.cpp
    M clang-tools-extra/clangd/index/Background.cpp
    M clang-tools-extra/clangd/index/Background.h
    M clang-tools-extra/clangd/index/BackgroundIndexLoader.cpp
    M clang-tools-extra/clangd/index/BackgroundIndexLoader.h
    M clang-tools-extra/clangd/index/BackgroundIndexStorage.cpp
    M clang-tools-extra/clangd/index/BackgroundQueue.cpp
    M clang-tools-extra/clangd/index/BackgroundRebuild.cpp
    M clang-tools-extra/clangd/index/FileIndex.cpp
    M clang-tools-extra/clangd/index/FileIndex.h
    M clang-tools-extra/clangd/index/Index.cpp
    M clang-tools-extra/clangd/index/IndexAction.cpp
    M clang-tools-extra/clangd/index/MemIndex.cpp
    M clang-tools-extra/clangd/index/Merge.cpp
    M clang-tools-extra/clangd/index/Serialization.cpp
    M clang-tools-extra/clangd/index/SymbolCollector.cpp
    M clang-tools-extra/clangd/index/YAMLSerialization.cpp
    M clang-tools-extra/clangd/index/dex/Dex.cpp
    M clang-tools-extra/clangd/index/remote/CMakeLists.txt
    M clang-tools-extra/clangd/index/remote/Client.cpp
    M clang-tools-extra/clangd/index/remote/marshalling/CMakeLists.txt
    M clang-tools-extra/clangd/index/remote/marshalling/Marshalling.cpp
    M clang-tools-extra/clangd/index/remote/unimplemented/CMakeLists.txt
    M clang-tools-extra/clangd/index/remote/unimplemented/UnimplementedClient.cpp
    M clang-tools-extra/clangd/refactor/Rename.cpp
    M clang-tools-extra/clangd/refactor/Rename.h
    M clang-tools-extra/clangd/refactor/Tweak.cpp
    M clang-tools-extra/clangd/refactor/Tweak.h
    M clang-tools-extra/clangd/refactor/tweaks/AddUsing.cpp
    M clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
    M clang-tools-extra/clangd/refactor/tweaks/DefineInline.cpp
    M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
    M clang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
    M clang-tools-extra/clangd/refactor/tweaks/ExtractFunction.cpp
    M clang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp
    M clang-tools-extra/clangd/refactor/tweaks/ObjCLocalizeStringLiteral.cpp
    M clang-tools-extra/clangd/refactor/tweaks/RawStringLiteral.cpp
    M clang-tools-extra/clangd/refactor/tweaks/SwapIfBranches.cpp
    A clang-tools-extra/clangd/support/CMakeLists.txt
    A clang-tools-extra/clangd/support/Cancellation.cpp
    A clang-tools-extra/clangd/support/Cancellation.h
    A clang-tools-extra/clangd/support/Context.cpp
    A clang-tools-extra/clangd/support/Context.h
    A clang-tools-extra/clangd/support/FSProvider.cpp
    A clang-tools-extra/clangd/support/FSProvider.h
    A clang-tools-extra/clangd/support/Function.h
    A clang-tools-extra/clangd/support/Logger.cpp
    A clang-tools-extra/clangd/support/Logger.h
    A clang-tools-extra/clangd/support/Path.h
    A clang-tools-extra/clangd/support/Shutdown.cpp
    A clang-tools-extra/clangd/support/Shutdown.h
    A clang-tools-extra/clangd/support/Threading.cpp
    A clang-tools-extra/clangd/support/Threading.h
    A clang-tools-extra/clangd/support/Trace.cpp
    A clang-tools-extra/clangd/support/Trace.h
    M clang-tools-extra/clangd/tool/ClangdMain.cpp
    M clang-tools-extra/clangd/unittests/CMakeLists.txt
    R clang-tools-extra/clangd/unittests/CancellationTests.cpp
    M clang-tools-extra/clangd/unittests/ClangdLSPServerTests.cpp
    M clang-tools-extra/clangd/unittests/ClangdTests.cpp
    M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
    R clang-tools-extra/clangd/unittests/ContextTests.cpp
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
    R clang-tools-extra/clangd/unittests/FunctionTests.cpp
    M clang-tools-extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp
    M clang-tools-extra/clangd/unittests/JSONTransportTests.cpp
    M clang-tools-extra/clangd/unittests/LSPClient.cpp
    M clang-tools-extra/clangd/unittests/SourceCodeTests.cpp
    M clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
    M clang-tools-extra/clangd/unittests/TestFS.cpp
    M clang-tools-extra/clangd/unittests/TestFS.h
    M clang-tools-extra/clangd/unittests/TestTU.h
    R clang-tools-extra/clangd/unittests/ThreadingTests.cpp
    R clang-tools-extra/clangd/unittests/TraceTests.cpp
    A clang-tools-extra/clangd/unittests/support/CancellationTests.cpp
    A clang-tools-extra/clangd/unittests/support/ContextTests.cpp
    A clang-tools-extra/clangd/unittests/support/FunctionTests.cpp
    A clang-tools-extra/clangd/unittests/support/ThreadingTests.cpp
    A clang-tools-extra/clangd/unittests/support/TraceTests.cpp
    M clang-tools-extra/clangd/xpc/CMakeLists.txt
    M clang-tools-extra/clangd/xpc/Conversion.cpp
    M clang-tools-extra/clangd/xpc/XPCTransport.cpp

  Log Message:
  -----------
  [clangd] Move non-clang base pieces into separate support/ lib. NFCI

Summary:
This enforces layering, reduces a sprawling clangd/ directory, and makes life
easier for embedders.

Reviewers: kbobyrev

Subscribers: mgorny, ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, jfb, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79014




More information about the All-commits mailing list