]> granicus.if.org Git - clang/commitdiff
Appease -Wnon-virtual-dtor
authorMatt Beaumont-Gay <matthewbg@google.com>
Fri, 7 Dec 2012 22:49:27 +0000 (22:49 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Fri, 7 Dec 2012 22:49:27 +0000 (22:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169648 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/UnwrappedLineParser.h

index 92a51abf10ee7472f10282ed573e80b0ecb5d110..908391d3db7b16b9e370bbf38ad3cd0145b19cff 100644 (file)
@@ -79,6 +79,8 @@ public:
 
 class FormatTokenSource {
 public:
+  virtual ~FormatTokenSource() {
+  }
   virtual FormatToken getNextToken() = 0;
 };