summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-12-07 22:49:27 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-12-07 22:49:27 +0000
commit05e0ad596100a5e666f5b16b23abcac314746383 (patch)
tree1ae71b157491eb908ed9da8777474c433e4aafa1 /clang
parent23de34d6d6bf3b4d79ab5df3b8da22f948aaf306 (diff)
downloadbcm5719-llvm-05e0ad596100a5e666f5b16b23abcac314746383.tar.gz
bcm5719-llvm-05e0ad596100a5e666f5b16b23abcac314746383.zip
Appease -Wnon-virtual-dtor
llvm-svn: 169648
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/Format/UnwrappedLineParser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Format/UnwrappedLineParser.h b/clang/lib/Format/UnwrappedLineParser.h
index 92a51abf10e..908391d3db7 100644
--- a/clang/lib/Format/UnwrappedLineParser.h
+++ b/clang/lib/Format/UnwrappedLineParser.h
@@ -79,6 +79,8 @@ public:
class FormatTokenSource {
public:
+ virtual ~FormatTokenSource() {
+ }
virtual FormatToken getNextToken() = 0;
};
OpenPOWER on IntegriCloud