Skip to content

Commit afb22d7

Browse files
committed
[DebugInfo] Simplify the constructor of DWARFDebugAranges::Range. NFC.
This removes the default values of the arguments. The only caller, DWARFDebugAranges::construct(), provides all three parameters. Differential Revision: https://reviews.llvm.org/D72757
1 parent 5cf1b01 commit afb22d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ class DWARFDebugAranges {
3232
void construct();
3333

3434
struct Range {
35-
explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL,
36-
uint64_t CUOffset = -1ULL)
35+
explicit Range(uint64_t LowPC, uint64_t HighPC, uint64_t CUOffset)
3736
: LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {}
3837

3938
void setHighPC(uint64_t HighPC) {

0 commit comments

Comments
 (0)