[cfe-commits] r151102 - /cfe/trunk/include/clang/AST/Stmt.h
Argyrios Kyrtzidis
akyrtzi at gmail.com
Tue Feb 21 15:41:58 PST 2012
Author: akirtzidis
Date: Tue Feb 21 17:41:58 2012
New Revision: 151102
URL: http://llvm.org/viewvc/llvm-project?rev=151102&view=rev
Log:
Make sure Stmt::dump() is included in libclang.
Modified:
cfe/trunk/include/clang/AST/Stmt.h
Modified: cfe/trunk/include/clang/AST/Stmt.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Stmt.h?rev=151102&r1=151101&r2=151102&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Stmt.h (original)
+++ cfe/trunk/include/clang/AST/Stmt.h Tue Feb 21 17:41:58 2012
@@ -307,8 +307,8 @@
/// 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.
More information about the cfe-commits
mailing list