aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-02-21 05:04:44 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-02-21 05:04:44 +0000
commit0ee7d94ece918f22e67d0f09fcbc631c91091adc (patch)
tree8409b3d3693c8fee9038a3d37f02ec48bc9e85b9 /include/clang/AST
parent5878cbcfaa90b8515550db86033fd5a0efab971d (diff)
Mark a few 'dump' methods as 'used' to make sure they are included in libclang
and useable while debugging. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST')
-rw-r--r--include/clang/AST/DeclBase.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h
index 961f49b871..896b12f61e 100644
--- a/include/clang/AST/DeclBase.h
+++ b/include/clang/AST/DeclBase.h
@@ -848,8 +848,8 @@ public:
static void printGroup(Decl** Begin, unsigned NumDecls,
raw_ostream &Out, const PrintingPolicy &Policy,
unsigned Indentation = 0);
- void dump() const;
- void dumpXML() const;
+ LLVM_ATTRIBUTE_USED void dump() const;
+ LLVM_ATTRIBUTE_USED void dumpXML() const;
void dumpXML(raw_ostream &OS) const;
private:
@@ -1490,7 +1490,7 @@ public:
static bool classof(const NAME##Decl *D) { return true; }
#include "clang/AST/DeclNodes.inc"
- void dumpDeclContext() const;
+ LLVM_ATTRIBUTE_USED void dumpDeclContext() const;
private:
void LoadLexicalDeclsFromExternalStorage() const;