[cfe-commits] r130407 - /cfe/trunk/include/clang/AST/ExprCXX.h
Manuel Klimek
klimek at google.com
Thu Apr 28 10:03:03 PDT 2011
Author: klimek
Date: Thu Apr 28 12:03:03 2011
New Revision: 130407
URL: http://llvm.org/viewvc/llvm-project?rev=130407&view=rev
Log:
Fixes ArrayTypeTraitExpr (-Wnon-virtual-dtor).
Modified:
cfe/trunk/include/clang/AST/ExprCXX.h
Modified: cfe/trunk/include/clang/AST/ExprCXX.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ExprCXX.h?rev=130407&r1=130406&r2=130407&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ExprCXX.h (original)
+++ cfe/trunk/include/clang/AST/ExprCXX.h Thu Apr 28 12:03:03 2011
@@ -1633,6 +1633,8 @@
: 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); }
More information about the cfe-commits
mailing list