diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-06-04 02:04:22 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-06-04 02:04:22 +0000 |
commit | 7b33c2b3908b178511ccaace8cacb5e5b14552a9 (patch) | |
tree | 4c56cd9162774124c4449cf5d2336f6ff1666b0d | |
parent | 7182b9652f20c122d261d9255e11bf3a1bf871ec (diff) |
Remove extraneous "virtual" keyword and non-virtual destructor. Caught by
-Wnon-virtual-dtor!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132619 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/Expr.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h index 3212534e91..3850c06543 100644 --- a/include/clang/AST/Expr.h +++ b/include/clang/AST/Expr.h @@ -4046,13 +4046,11 @@ public: /// \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); } |