[llvm] a32e39a - Fix a buildbot failure from commit 886629a8
Rong Xu via llvm-commits
llvm-commits at lists.llvm.org
Tue May 18 16:54:18 PDT 2021
Author: Rong Xu
Date: 2021-05-18T16:53:34-07:00
New Revision: a32e39a75b8137ee20c623887cbc1b4865e49b94
URL: https://github.com/llvm/llvm-project/commit/a32e39a75b8137ee20c623887cbc1b4865e49b94
DIFF: https://github.com/llvm/llvm-project/commit/a32e39a75b8137ee20c623887cbc1b4865e49b94.diff
LOG: Fix a buildbot failure from commit 886629a8
Added:
Modified:
llvm/lib/CodeGen/MIRFSDiscriminator.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/MIRFSDiscriminator.cpp b/llvm/lib/CodeGen/MIRFSDiscriminator.cpp
index 450a1b7310d4..181f2a20d610 100644
--- a/llvm/lib/CodeGen/MIRFSDiscriminator.cpp
+++ b/llvm/lib/CodeGen/MIRFSDiscriminator.cpp
@@ -91,7 +91,7 @@ bool MIRAddFSDiscriminators::runOnMachineFunction(MachineFunction &MF) {
if (LineNo == 0)
continue;
unsigned Discriminator = DIL->getDiscriminator();
- LocationDiscriminator LD = {DIL->getFilename(), LineNo, Discriminator};
+ LocationDiscriminator LD{DIL->getFilename(), LineNo, Discriminator};
auto &BBMap = LDBM[LD];
auto R = BBMap.insert(&BB);
if (BBMap.size() == 1)
More information about the llvm-commits
mailing list