aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorTaewook Oh <twoh@fb.com>2017-02-13 21:12:27 +0000
committerTaewook Oh <twoh@fb.com>2017-02-13 21:12:27 +0000
commit4d35f9e10e016ce896667ec4858f4cfc2a24f733 (patch)
tree077344fc67c81c84a19ccbee659c2379c0f9e731 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent259ad9cf08c97f9ea977d07c241e6c97bcb3f189 (diff)
downloadllvm-4d35f9e10e016ce896667ec4858f4cfc2a24f733.zip
llvm-4d35f9e10e016ce896667ec4858f4cfc2a24f733.tar.gz
llvm-4d35f9e10e016ce896667ec4858f4cfc2a24f733.tar.bz2
Address post-commit comments for https://reviews.llvm.org/D29596. NFCI.
llvm-svn: 294985
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBasicBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp
index 2468bfa..4e91bb0 100644
--- a/llvm/lib/CodeGen/MachineBasicBlock.cpp
+++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp
@@ -1155,7 +1155,7 @@ MachineBasicBlock::findDebugLoc(instr_iterator MBBI) {
/// Return UnknownLoc if there is none.
DebugLoc
MachineBasicBlock::findBranchDebugLoc() {
- DebugLoc DL {};
+ DebugLoc DL;
auto TI = getFirstTerminator();
while (TI != end() && !TI->isBranch())
++TI;