Skip to content

Commit ad0b0a6

Browse files
committed
---
yaml --- r: 347477 b: refs/heads/master c: 4aec2e1 h: refs/heads/master i: 347475: 496d194
1 parent 5402a39 commit ad0b0a6

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: eb87791365cbbc9e2097daf562bba0d3853bda63
2+
refs/heads/master: 4aec2e1ea99e81214f3d72ae2fef4730c65f77d8
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/include/swift/AST/Pattern.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,9 @@ class alignas(8) Pattern {
221221

222222
void print(llvm::raw_ostream &OS,
223223
const PrintOptions &Options = PrintOptions()) const;
224-
void dump() const;
224+
LLVM_ATTRIBUTE_DEPRECATED(
225+
void dump() const LLVM_ATTRIBUTE_USED,
226+
"only for use within the debugger");
225227

226228
/// walk - This recursively walks the AST rooted at this pattern.
227229
Pattern *walk(ASTWalker &walker);

trunk/include/swift/AST/TypeRepr.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ class alignas(8) TypeRepr {
160160

161161
void print(raw_ostream &OS, const PrintOptions &Opts = PrintOptions()) const;
162162
void print(ASTPrinter &Printer, const PrintOptions &Opts) const;
163-
void dump() const;
163+
LLVM_ATTRIBUTE_DEPRECATED(
164+
void dump() const LLVM_ATTRIBUTE_USED,
165+
"only for use within the debugger");
164166

165167
/// Clone the given type representation.
166168
TypeRepr *clone(const ASTContext &ctx) const;

0 commit comments

Comments
 (0)