Skip to content

Commit 7d344e7

Browse files
committed
[𝘀𝗽𝗿] initial version
Created using spr 1.3.4
1 parent dbee0d5 commit 7d344e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/include/llvm/Support/DebugCounter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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>);

llvm/lib/Support/DebugCounter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ using namespace llvm;
99

1010
namespace 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

0 commit comments

Comments
 (0)