]> granicus.if.org Git - clang/commitdiff
Remove extraneous "virtual" keyword and non-virtual destructor. Caught by
authorNick Lewycky <nicholas@mxc.ca>
Sat, 4 Jun 2011 02:04:22 +0000 (02:04 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 4 Jun 2011 02:04:22 +0000 (02:04 +0000)
-Wnon-virtual-dtor!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132619 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Expr.h

index 3212534e9131a7a7780880e2b63c94e28ea52336..3850c0654317967ce35aa41c6d70d6cdfe0f485e 100644 (file)
@@ -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);
   }