[clang-tools-extra] r363798 - [clangd] Correct the MessageType enum values.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 19 06:14:59 PDT 2019


Author: hokein
Date: Wed Jun 19 06:14:59 2019
New Revision: 363798

URL: http://llvm.org/viewvc/llvm-project?rev=363798&view=rev
Log:
[clangd] Correct the MessageType enum values.

Modified:
    clang-tools-extra/trunk/clangd/Protocol.h

Modified: clang-tools-extra/trunk/clangd/Protocol.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/Protocol.h?rev=363798&r1=363797&r2=363798&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/Protocol.h (original)
+++ clang-tools-extra/trunk/clangd/Protocol.h Wed Jun 19 06:14:59 2019
@@ -487,11 +487,11 @@ enum class MessageType {
   /// An error message.
   Error = 1,
   /// A warning message.
-  Warning = 1,
+  Warning = 2,
   /// An information message.
-  Info = 1,
+  Info = 3,
   /// A log message.
-  Log = 1,
+  Log = 4,
 };
 llvm::json::Value toJSON(const MessageType &);
 




More information about the cfe-commits mailing list