[NFC] mark DebugCounter::Chunk method as const (#143039)

This commit is contained in:
Florian Mayer
2025-06-05 16:54:34 -07:00
committed by GitHub
parent 6c1ca07586
commit 16b0d2f910

View File

@@ -60,7 +60,7 @@ public:
int64_t Begin;
int64_t End;
LLVM_ABI void print(llvm::raw_ostream &OS);
bool contains(int64_t Idx) { return Idx >= Begin && Idx <= End; }
bool contains(int64_t Idx) const { return Idx >= Begin && Idx <= End; }
};
LLVM_ABI static void printChunks(raw_ostream &OS, ArrayRef<Chunk>);