aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-08-27 21:15:55 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-08-27 21:15:55 +0000
commit29760b452876548f59804e8c02c3276bc7281d5d (patch)
tree5605083c5bce372bca27e982ea55d3cd12a17d4f
parent12b95e523c193bac4bdde0b23f2a9777ca956145 (diff)
Appease -Wnon-virtual-dtor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162700 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Stmt.h2
1 files changed, 2 insertions, 0 deletions
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; }