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);
   }
   


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to