diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 2468bfa2a511..4e91bb07aed6 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;