]> granicus.if.org Git - clang/commitdiff
Make sure Stmt::dump() is included in libclang.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 21 Feb 2012 23:41:58 +0000 (23:41 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 21 Feb 2012 23:41:58 +0000 (23:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151102 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Stmt.h

index e9fce27796960f30f97eacc719bc20f619b3601a..be2b706fac4e3ac2808f4fcac6c235407028ec09 100644 (file)
@@ -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.