Skip to content

Commit 16b0d2f

Browse files
authored
[NFC] mark DebugCounter::Chunk method as const (#143039)
1 parent 6c1ca07 commit 16b0d2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Support/DebugCounter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class DebugCounter {
6060
int64_t Begin;
6161
int64_t End;
6262
LLVM_ABI void print(llvm::raw_ostream &OS);
63-
bool contains(int64_t Idx) { return Idx >= Begin && Idx <= End; }
63+
bool contains(int64_t Idx) const { return Idx >= Begin && Idx <= End; }
6464
};
6565

6666
LLVM_ABI static void printChunks(raw_ostream &OS, ArrayRef<Chunk>);

0 commit comments

Comments
 (0)