From: Argyrios Kyrtzidis Date: Tue, 21 Feb 2012 23:41:58 +0000 (+0000) Subject: Make sure Stmt::dump() is included in libclang. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f775c7b0575446920d03366abd1f5b5188a7eade;p=clang Make sure Stmt::dump() is included in libclang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151102 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Stmt.h b/include/clang/AST/Stmt.h index e9fce27796..be2b706fac 100644 --- a/include/clang/AST/Stmt.h +++ b/include/clang/AST/Stmt.h @@ -307,8 +307,8 @@ public: /// dump - This does a local dump of the specified AST fragment. It dumps the /// specified node and a few nodes underneath it, but not the whole subtree. /// This is useful in a debugger. - void dump() const; - void dump(SourceManager &SM) const; + LLVM_ATTRIBUTE_USED void dump() const; + LLVM_ATTRIBUTE_USED void dump(SourceManager &SM) const; void dump(raw_ostream &OS, SourceManager &SM) const; /// dumpAll - This does a dump of the specified AST fragment and all subtrees.