[cfe-commits] r132619 - /cfe/trunk/include/clang/AST/Expr.h
Nick Lewycky
nicholas at mxc.ca
Fri Jun 3 19:04:23 PDT 2011
Author: nicholas
Date: Fri Jun 3 21:04:22 2011
New Revision: 132619
URL: http://llvm.org/viewvc/llvm-project?rev=132619&view=rev
Log:
Remove extraneous "virtual" keyword and non-virtual destructor. Caught by
-Wnon-virtual-dtor!
Modified:
cfe/trunk/include/clang/AST/Expr.h
Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=132619&r1=132618&r2=132619&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Fri Jun 3 21:04:22 2011
@@ -4046,13 +4046,11 @@
/// \brief Build an empty __builtin_astype
explicit AsTypeExpr(EmptyShell Empty) : Expr(AsTypeExprClass, Empty) {}
- ~AsTypeExpr() { }
-
/// getSrcExpr - Return the Expr to be converted.
Expr *getSrcExpr() const { return SrcExpr; }
QualType getDstType() const { return DstType; }
- virtual SourceRange getSourceRange() const {
+ SourceRange getSourceRange() const {
return SourceRange(BuiltinLoc, RParenLoc);
}
More information about the cfe-commits
mailing list