[llvm] r294985 - Address post-commit comments for https://reviews.llvm.org/D29596. NFCI.
Taewook Oh via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 13 13:12:27 PST 2017
Author: twoh
Date: Mon Feb 13 15:12:27 2017
New Revision: 294985
URL: http://llvm.org/viewvc/llvm-project?rev=294985&view=rev
Log:
Address post-commit comments for https://reviews.llvm.org/D29596. NFCI.
Modified:
llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp
Modified: llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp?rev=294985&r1=294984&r2=294985&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp Mon Feb 13 15:12:27 2017
@@ -1155,7 +1155,7 @@ MachineBasicBlock::findDebugLoc(instr_it
/// Return UnknownLoc if there is none.
DebugLoc
MachineBasicBlock::findBranchDebugLoc() {
- DebugLoc DL {};
+ DebugLoc DL;
auto TI = getFirstTerminator();
while (TI != end() && !TI->isBranch())
++TI;
More information about the llvm-commits
mailing list