File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,9 @@ class alignas(8) Pattern {
221
221
222
222
void print (llvm::raw_ostream &OS,
223
223
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" );
225
227
226
228
// / walk - This recursively walks the AST rooted at this pattern.
227
229
Pattern *walk (ASTWalker &walker);
Original file line number Diff line number Diff line change @@ -160,7 +160,9 @@ class alignas(8) TypeRepr {
160
160
161
161
void print (raw_ostream &OS, const PrintOptions &Opts = PrintOptions ()) const ;
162
162
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" );
164
166
165
167
// / Clone the given type representation.
166
168
TypeRepr *clone (const ASTContext &ctx) const ;
You can’t perform that action at this time.
0 commit comments