Skip to content

Commit 5d4b151

Browse files
authored
Merge pull request #26964 from brentdax/dump-rump
[NFC] Make DeclName::dump() and ObjCSelector::dump() work
2 parents 2ad0360 + 0e8d600 commit 5d4b151

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/AST/Identifier.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ class DeclName {
590590
llvm::raw_ostream &printPretty(llvm::raw_ostream &os) const;
591591

592592
/// Dump this name to standard error.
593-
LLVM_ATTRIBUTE_DEPRECATED(void dump() const,
593+
LLVM_ATTRIBUTE_DEPRECATED(void dump() const LLVM_ATTRIBUTE_USED,
594594
"only for use within the debugger");
595595
};
596596

@@ -672,7 +672,7 @@ class ObjCSelector {
672672
}
673673

674674
/// Dump this selector to standard error.
675-
LLVM_ATTRIBUTE_DEPRECATED(void dump() const,
675+
LLVM_ATTRIBUTE_DEPRECATED(void dump() const LLVM_ATTRIBUTE_USED,
676676
"only for use within the debugger");
677677

678678
/// Compare two Objective-C selectors, producing -1 if \c *this comes before

0 commit comments

Comments
 (0)