aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-02-21 06:12:38 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-02-21 06:12:38 +0000
commitb5f2c419842d016892b9c976d4d6e91880e0e43a (patch)
tree8bf63bb14a8f2c82b87fafe1604e2e459466ca19
parenta7b07fd0e13d3bee1f33ad74c35e24681f85451e (diff)
Also mark Type's dump() as 'used' to make it available in libclang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151037 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h
index 29a07f3cb1..412b51d55f 100644
--- a/include/clang/AST/Type.h
+++ b/include/clang/AST/Type.h
@@ -1706,7 +1706,7 @@ public:
return CanonicalType;
}
CanQualType getCanonicalTypeUnqualified() const; // in CanonicalType.h
- void dump() const;
+ LLVM_ATTRIBUTE_USED void dump() const;
static bool classof(const Type *) { return true; }