diff --git a/clang-tools-extra/clangd/Protocol.h b/clang-tools-extra/clangd/Protocol.h index f918183716d28..71de24a763d54 100644 --- a/clang-tools-extra/clangd/Protocol.h +++ b/clang-tools-extra/clangd/Protocol.h @@ -981,7 +981,7 @@ struct DocumentSymbol { SymbolKind kind; /// Indicates if this symbol is deprecated. - bool deprecated; + bool deprecated = false; /// The range enclosing this symbol not including leading/trailing whitespace /// but everything else like comments. This information is typically used to