[llvm] r349043 - [mir] Fix uninitialized variable in r349035 noticed by clang-atom-d525-fedora-rel and 3 other bots
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 13 07:05:27 PST 2018
Author: dsanders
Date: Thu Dec 13 07:05:27 2018
New Revision: 349043
URL: http://llvm.org/viewvc/llvm-project?rev=349043&view=rev
Log:
[mir] Fix uninitialized variable in r349035 noticed by clang-atom-d525-fedora-rel and 3 other bots
Modified:
llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp
Modified: llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp?rev=349043&r1=349042&r2=349043&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp (original)
+++ llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp Thu Dec 13 07:05:27 2018
@@ -1701,7 +1701,7 @@ bool MIParser::parseDILocation(MDNode *&
unsigned Column = 0;
MDNode *Scope = nullptr;
MDNode *InlinedAt = nullptr;
- bool ImplicitCode;
+ bool ImplicitCode = false;
if (expectAndConsume(MIToken::lparen))
return true;
More information about the llvm-commits
mailing list