Author: Sam McCall Date: 2021-03-03T11:45:16+01:00 New Revision: 1a4990a4f71adf1ea0b8f7e0ae2ddd8a85f9c393
URL: https://github.com/llvm/llvm-project/commit/1a4990a4f71adf1ea0b8f7e0ae2ddd8a85f9c393 DIFF: https://github.com/llvm/llvm-project/commit/1a4990a4f71adf1ea0b8f7e0ae2ddd8a85f9c393.diff LOG: [clangd] Fix uninit member Added: Modified: clang-tools-extra/clangd/Protocol.h Removed: ################################################################################ diff --git a/clang-tools-extra/clangd/Protocol.h b/clang-tools-extra/clangd/Protocol.h index f918183716d2..71de24a763d5 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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits