From 29760b452876548f59804e8c02c3276bc7281d5d Mon Sep 17 00:00:00 2001 From: Matt Beaumont-Gay Date: Mon, 27 Aug 2012 21:15:55 +0000 Subject: [PATCH] Appease -Wnon-virtual-dtor git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162700 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/Stmt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/clang/AST/Stmt.h b/include/clang/AST/Stmt.h index 1f58a978fd..74bd16969a 100644 --- a/include/clang/AST/Stmt.h +++ b/include/clang/AST/Stmt.h @@ -1393,6 +1393,8 @@ public: 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; } -- 2.40.0