summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2018-12-13 15:05:27 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2018-12-13 15:05:27 +0000
commitb51480ff3eeb0d4820bb2765c8dc1e6eaa9d0067 (patch)
tree0273ac84ff762ecff86448a64dc7e55dec4d1258 /llvm/lib/CodeGen
parenta4ee8542599611ba2491bdd8cdc1f56120b90465 (diff)
downloadbcm5719-llvm-b51480ff3eeb0d4820bb2765c8dc1e6eaa9d0067.tar.gz
bcm5719-llvm-b51480ff3eeb0d4820bb2765c8dc1e6eaa9d0067.zip
[mir] Fix uninitialized variable in r349035 noticed by clang-atom-d525-fedora-rel and 3 other bots
llvm-svn: 349043
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MIParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.cpp b/llvm/lib/CodeGen/MIRParser/MIParser.cpp
index 16cade09f21..080b94526a6 100644
--- a/llvm/lib/CodeGen/MIRParser/MIParser.cpp
+++ b/llvm/lib/CodeGen/MIRParser/MIParser.cpp
@@ -1701,7 +1701,7 @@ bool MIParser::parseDILocation(MDNode *&Loc) {
unsigned Column = 0;
MDNode *Scope = nullptr;
MDNode *InlinedAt = nullptr;
- bool ImplicitCode;
+ bool ImplicitCode = false;
if (expectAndConsume(MIToken::lparen))
return true;
OpenPOWER on IntegriCloud