File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ class DebugCounter {
5959 struct Chunk {
6060 int64_t Begin;
6161 int64_t End;
62- LLVM_ABI void print (llvm::raw_ostream &OS);
63- bool contains (int64_t Idx) { return Idx >= Begin && Idx <= End; }
62+ LLVM_ABI void print (llvm::raw_ostream &OS) const ;
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>);
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ using namespace llvm;
99
1010namespace llvm {
1111
12- void DebugCounter::Chunk::print (llvm::raw_ostream &OS) {
12+ void DebugCounter::Chunk::print (llvm::raw_ostream &OS) const {
1313 if (Begin == End)
1414 OS << Begin;
1515 else
You can’t perform that action at this time.
0 commit comments