aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2011-04-28 17:03:03 +0000
committerManuel Klimek <klimek@google.com>2011-04-28 17:03:03 +0000
commit25aaf28c5bec71d5d005df67ee78b908ba5940f4 (patch)
tree3f854819568123312d4b2bf85cbf51acb5dee5b7
parent91d3df506fa66de3919fd7284737eed93e5ed01f (diff)
Fixes ArrayTypeTraitExpr (-Wnon-virtual-dtor).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130407 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/ExprCXX.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/AST/ExprCXX.h b/include/clang/AST/ExprCXX.h
index 1311030e77..0040f13cd3 100644
--- a/include/clang/AST/ExprCXX.h
+++ b/include/clang/AST/ExprCXX.h
@@ -1633,6 +1633,8 @@ public:
: Expr(ArrayTypeTraitExprClass, Empty), ATT(0), Value(false),
QueriedType() { }
+ virtual ~ArrayTypeTraitExpr() { }
+
virtual SourceRange getSourceRange() const { return SourceRange(Loc, RParen); }
ArrayTypeTrait getTrait() const { return static_cast<ArrayTypeTrait>(ATT); }