Skip to content

Commit 60a0d7a

Browse files
committed
remove annotations from dump methods
1 parent 3bfa0d3 commit 60a0d7a

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

llvm/include/llvm/Support/BalancedPartitioning.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class BPFunctionNode {
6868
/// The ID of this node
6969
IDT Id;
7070

71-
LLVM_ABI void dump(raw_ostream &OS) const;
71+
void dump(raw_ostream &OS) const;
7272

7373
protected:
7474
/// The list of utility nodes associated with this node

llvm/include/llvm/Support/BranchProbability.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class BranchProbability {
7171

7272
LLVM_ABI raw_ostream &print(raw_ostream &OS) const;
7373

74-
LLVM_ABI void dump() const;
74+
void dump() const;
7575

7676
/// Scale a large integer.
7777
///

llvm/include/llvm/Support/DebugCounter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class DebugCounter {
120120
}
121121

122122
// Dump or print the current counter set into llvm::dbgs().
123-
LLVM_ABI LLVM_DUMP_METHOD void dump() const;
123+
LLVM_DUMP_METHOD void dump() const;
124124

125125
LLVM_ABI void print(raw_ostream &OS) const;
126126

llvm/include/llvm/Support/KnownBits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ struct KnownBits {
513513
bool operator!=(const KnownBits &Other) const { return !(*this == Other); }
514514

515515
LLVM_ABI void print(raw_ostream &OS) const;
516-
LLVM_ABI void dump() const;
516+
void dump() const;
517517

518518
private:
519519
// Internal helper for getting the initial KnownBits for an `srem` or `urem`

llvm/include/llvm/Support/SMTAPI.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class SMTSort {
7171

7272
virtual void print(raw_ostream &OS) const = 0;
7373

74-
LLVM_ABI LLVM_DUMP_METHOD void dump() const;
74+
LLVM_DUMP_METHOD void dump() const;
7575

7676
protected:
7777
/// Query the SMT solver and returns true if two sorts are equal (same kind
@@ -118,7 +118,7 @@ class SMTExpr {
118118

119119
virtual void print(raw_ostream &OS) const = 0;
120120

121-
LLVM_ABI LLVM_DUMP_METHOD void dump() const;
121+
LLVM_DUMP_METHOD void dump() const;
122122

123123
protected:
124124
/// Query the SMT solver and returns true if two sorts are equal (same kind
@@ -136,7 +136,7 @@ class SMTSolverStatistics {
136136

137137
virtual void print(raw_ostream &OS) const = 0;
138138

139-
LLVM_ABI LLVM_DUMP_METHOD void dump() const;
139+
LLVM_DUMP_METHOD void dump() const;
140140
};
141141

142142
/// Shared pointer for SMTExprs, used by SMTSolver API.
@@ -152,7 +152,7 @@ class SMTSolver {
152152
SMTSolver() = default;
153153
virtual ~SMTSolver() = default;
154154

155-
LLVM_ABI LLVM_DUMP_METHOD void dump() const;
155+
LLVM_DUMP_METHOD void dump() const;
156156

157157
// Returns an appropriate floating-point sort for the given bitwidth.
158158
SMTSortRef getFloatSort(unsigned BitWidth) {

llvm/include/llvm/Support/ScaledNumber.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,8 @@ class ScaledNumberBase {
424424
public:
425425
static constexpr int DefaultPrecision = 10;
426426

427-
LLVM_ABI static void dump(uint64_t D, int16_t E, int Width);
427+
static void dump(uint64_t D, int16_t E, int Width);
428+
428429
LLVM_ABI static raw_ostream &print(raw_ostream &OS, uint64_t D, int16_t E,
429430
int Width, unsigned Precision);
430431
LLVM_ABI static std::string toString(uint64_t D, int16_t E, int Width,
@@ -607,6 +608,7 @@ template <class DigitsT> class ScaledNumber : ScaledNumberBase {
607608
unsigned Precision = DefaultPrecision) const {
608609
return ScaledNumberBase::print(OS, Digits, Scale, Width, Precision);
609610
}
611+
610612
void dump() const { return ScaledNumberBase::dump(Digits, Scale, Width); }
611613

612614
ScaledNumber &operator+=(const ScaledNumber &X) {

0 commit comments

Comments
 (0)