[all-commits] [llvm/llvm-project] ee7ccb: [mlir:LSP][NFC] Make the LSPServer class private

River Riddle via All-commits all-commits at lists.llvm.org
Wed Jul 20 01:46:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee7ccbeaa7d388dc9f7844f3d63ac07c3430d2ab
      https://github.com/llvm/llvm-project/commit/ee7ccbeaa7d388dc9f7844f3d63ac07c3430d2ab
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-07-20 (Wed, 20 Jul 2022)

  Changed paths:
    M mlir/lib/Tools/mlir-lsp-server/LSPServer.cpp
    M mlir/lib/Tools/mlir-lsp-server/LSPServer.h
    M mlir/lib/Tools/mlir-lsp-server/MlirLspServerMain.cpp

  Log Message:
  -----------
  [mlir:LSP][NFC] Make the LSPServer class private

There is no benefit to making it public, and the code is much
cleaner and easier to follow when inlined. This also matches
the pattern within the PDLL lsp server.




More information about the All-commits mailing list