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.
2 parents d013069 + 16b0d2f commit 1113b42Copy full SHA for 1113b42
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