We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1ca07 commit 16b0d2fCopy full SHA for 16b0d2f
llvm/include/llvm/Support/DebugCounter.h
@@ -60,7 +60,7 @@ class DebugCounter {
60
int64_t Begin;
61
int64_t End;
62
LLVM_ABI void print(llvm::raw_ostream &OS);
63
- bool contains(int64_t Idx) { return Idx >= Begin && Idx <= End; }
+ bool contains(int64_t Idx) const { return Idx >= Begin && Idx <= End; }
64
};
65
66
LLVM_ABI static void printChunks(raw_ostream &OS, ArrayRef<Chunk>);
0 commit comments