summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/clangd/Protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/Protocol.h b/clang-tools-extra/clangd/Protocol.h
index 538a5590df6..d244febfce4 100644
--- a/clang-tools-extra/clangd/Protocol.h
+++ b/clang-tools-extra/clangd/Protocol.h
@@ -1205,7 +1205,7 @@ llvm::json::Value toJSON(const FileStatus &FStatus);
/// specific line of the text document.
struct SemanticHighlightingInformation {
/// The line these highlightings belong to.
- int Line;
+ int Line = 0;
/// The base64 encoded string of highlighting tokens.
std::string Tokens;
};
OpenPOWER on IntegriCloud