[PATCH] D39718: [clangd] Add ErrorCodes enum class.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 7 01:23:16 PST 2017


hokein created this revision.
Herald added a subscriber: ilya-biryukov.

Avoid using magic number in the code everywhere.


https://reviews.llvm.org/D39718

Files:
  clangd/ClangdLSPServer.cpp
  clangd/JSONRPCDispatcher.cpp
  clangd/JSONRPCDispatcher.h
  clangd/Protocol.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39718.121847.patch
Type: text/x-patch
Size: 4306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171107/a37441cf/attachment.bin>


More information about the cfe-commits mailing list