Skip to content

Commit 7a22f4d

Browse files
committed
PR feedback: remove LLVM_ABI annotation from dump() methods
1 parent c238179 commit 7a22f4d

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

llvm/include/llvm/ADT/APFloat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,7 @@ class APFloat : public APFloatBase {
14991499
}
15001500

15011501
LLVM_ABI void print(raw_ostream &) const;
1502-
LLVM_ABI void dump() const;
1502+
void dump() const;
15031503

15041504
bool getExactInverse(APFloat *inv) const {
15051505
APFLOAT_DISPATCH_ON_SEMANTICS(getExactInverse(inv));

llvm/include/llvm/ADT/APInt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,7 @@ class [[nodiscard]] APInt {
19051905
LLVM_ABI void Profile(FoldingSetNodeID &id) const;
19061906

19071907
/// debug method
1908-
LLVM_ABI void dump() const;
1908+
void dump() const;
19091909

19101910
/// Returns whether this instance allocated memory.
19111911
bool needsCleanup() const { return !isSingleWord(); }

llvm/include/llvm/ADT/DynamicAPInt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ class DynamicAPInt {
217217
LLVM_ABI void static_assert_layout(); // NOLINT
218218

219219
LLVM_ABI raw_ostream &print(raw_ostream &OS) const;
220-
LLVM_ABI LLVM_DUMP_METHOD void dump() const;
220+
LLVM_DUMP_METHOD void dump() const;
221221
};
222222

223223
inline raw_ostream &operator<<(raw_ostream &OS, const DynamicAPInt &X) {

llvm/include/llvm/ADT/SlowDynamicAPInt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class SlowDynamicAPInt {
8181
unsigned getBitWidth() const { return Val.getBitWidth(); }
8282

8383
LLVM_ABI void print(raw_ostream &OS) const;
84-
LLVM_ABI LLVM_DUMP_METHOD void dump() const;
84+
LLVM_DUMP_METHOD void dump() const;
8585
};
8686

8787
inline raw_ostream &operator<<(raw_ostream &OS, const SlowDynamicAPInt &X) {

llvm/include/llvm/ADT/TrieRawHashMap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class ThreadSafeTrieRawHashMapBase {
9191
static void *operator new(size_t Size) { return ::operator new(Size); }
9292
void operator delete(void *Ptr) { ::operator delete(Ptr); }
9393

94-
LLVM_ABI LLVM_DUMP_METHOD void dump() const;
94+
LLVM_DUMP_METHOD void dump() const;
9595
LLVM_ABI void print(raw_ostream &OS) const;
9696

9797
protected:

llvm/include/llvm/ADT/Twine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ namespace llvm {
510510
LLVM_ABI void print(raw_ostream &OS) const;
511511

512512
/// Dump the concatenated string represented by this twine to stderr.
513-
LLVM_ABI void dump() const;
513+
void dump() const;
514514

515515
/// Write the representation of this twine to the stream \p OS.
516516
LLVM_ABI void printRepr(raw_ostream &OS) const;

0 commit comments

Comments
 (0)