llvm.org GIT mirror llvm / c61d8bc
[DebugInfo] DILocation variable declaration should be const; NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291787 91177308-0d34-0410-b5e6-96231b3b80d8 Robert Lougher 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
15761576 // The debug location for the "common" instruction is the merged locations of
15771577 // all the commoned instructions. We start with the original location of the
15781578 // "common" instruction and iteratively merge each location in the loop below.
1579 DILocation *Loc = I0->getDebugLoc();
1579 const DILocation *Loc = I0->getDebugLoc();
15801580
15811581 // Update metadata and IR flags, and merge debug locations.
15821582 for (auto *I : Insts)