Skip to content

Commit 1a4990a

Browse files
committed
[clangd] Fix uninit member
1 parent 394a4d0 commit 1a4990a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clangd/Protocol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ struct DocumentSymbol {
981981
SymbolKind kind;
982982

983983
/// Indicates if this symbol is deprecated.
984-
bool deprecated;
984+
bool deprecated = false;
985985

986986
/// The range enclosing this symbol not including leading/trailing whitespace
987987
/// but everything else like comments. This information is typically used to

0 commit comments

Comments
 (0)