[cfe-commits] r162700 - /cfe/trunk/include/clang/AST/Stmt.h
Matt Beaumont-Gay
matthewbg at google.com
Mon Aug 27 14:15:56 PDT 2012
Author: matthewbg
Date: Mon Aug 27 16:15:55 2012
New Revision: 162700
URL: http://llvm.org/viewvc/llvm-project?rev=162700&view=rev
Log:
Appease -Wnon-virtual-dtor
Modified:
cfe/trunk/include/clang/AST/Stmt.h
Modified: cfe/trunk/include/clang/AST/Stmt.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Stmt.h?rev=162700&r1=162699&r2=162700&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Stmt.h (original)
+++ cfe/trunk/include/clang/AST/Stmt.h Mon Aug 27 16:15:55 2012
@@ -1393,6 +1393,8 @@
explicit AsmStmt(StmtClass SC, EmptyShell Empty) :
Stmt(SC, Empty), Names(0), Exprs(0) { }
+ virtual ~AsmStmt() { }
+
SourceLocation getAsmLoc() const { return AsmLoc; }
void setAsmLoc(SourceLocation L) { AsmLoc = L; }
More information about the cfe-commits
mailing list