]> granicus.if.org Git - llvm/commitdiff
Address post-commit comments for https://reviews.llvm.org/D29596. NFCI.
authorTaewook Oh <twoh@fb.com>
Mon, 13 Feb 2017 21:12:27 +0000 (21:12 +0000)
committerTaewook Oh <twoh@fb.com>
Mon, 13 Feb 2017 21:12:27 +0000 (21:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294985 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineBasicBlock.cpp

index 2468bfa2a511a1fe9dd8f58e513ff9d08f145c5c..4e91bb07aed6d97bf39b66b64d09414811613f9f 100644 (file)
@@ -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;