diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-08-27 21:15:55 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-08-27 21:15:55 +0000 |
commit | 29760b452876548f59804e8c02c3276bc7281d5d (patch) | |
tree | 5605083c5bce372bca27e982ea55d3cd12a17d4f | |
parent | 12b95e523c193bac4bdde0b23f2a9777ca956145 (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.h | 2 |
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; } |