Skip to content

Commit 0045fe3

Browse files
authored
Merge pull request #39036 from gottesmm/pr-9b9cc7e94e7e77a3db8df6cfb018e92f918bdc02
2 parents 4a3ffd3 + 178804c commit 0045fe3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/SILGen/Cleanup.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ class LLVM_LIBRARY_VISIBILITY CleanupManager {
272272
bool hasAnyActiveCleanups(CleanupsDepth from);
273273

274274
/// Dump the output of each cleanup on this stack.
275-
void dump() const;
275+
LLVM_ATTRIBUTE_DEPRECATED(void dump() const LLVM_ATTRIBUTE_USED,
276+
"Only for use in the debugger");
276277

277278
/// Dump the given cleanup handle if it is on the current stack.
278279
void dump(CleanupHandle handle) const;

0 commit comments

Comments
 (0)