diff options
-rw-r--r-- | clang-tools-extra/clangd/Protocol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clangd/Protocol.cpp b/clang-tools-extra/clangd/Protocol.cpp index 5c5912eb9bc..4714c6c11da 100644 --- a/clang-tools-extra/clangd/Protocol.cpp +++ b/clang-tools-extra/clangd/Protocol.cpp @@ -832,8 +832,8 @@ llvm::json::Value toJSON(const CompletionList &L) { } llvm::json::Value toJSON(const ParameterInformation &PI) { - assert(PI.labelOffsets.hasValue() || - !PI.labelString.empty() && "parameter information label is required"); + assert((PI.labelOffsets.hasValue() || !PI.labelString.empty()) && + "parameter information label is required"); llvm::json::Object Result; if (PI.labelOffsets) Result["label"] = |