[Lldb-commits] [PATCH] D42339: Fix uninitialized variable in GoParser
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 22 06:34:22 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL323119: Fix uninitialized variable in GoParser (authored by teemperor, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D42339?vs=130779&id=130877#toc
Repository:
rL LLVM
https://reviews.llvm.org/D42339
Files:
lldb/trunk/source/Plugins/ExpressionParser/Go/GoParser.cpp
Index: lldb/trunk/source/Plugins/ExpressionParser/Go/GoParser.cpp
===================================================================
--- lldb/trunk/source/Plugins/ExpressionParser/Go/GoParser.cpp
+++ lldb/trunk/source/Plugins/ExpressionParser/Go/GoParser.cpp
@@ -67,7 +67,9 @@
size_t m_pos;
};
-GoParser::GoParser(const char *src) : m_lexer(src), m_pos(0), m_failed(false) {}
+GoParser::GoParser(const char *src)
+ : m_lexer(src), m_pos(0), m_last_tok(GoLexer::TOK_INVALID),
+ m_failed(false) {}
GoASTStmt *GoParser::Statement() {
Rule r("Statement", this);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42339.130877.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180122/3bb64561/attachment.bin>
More information about the lldb-commits
mailing list