[cfe-commits] r169648 - /cfe/trunk/lib/Format/UnwrappedLineParser.h

Matt Beaumont-Gay matthewbg at google.com
Fri Dec 7 14:49:28 PST 2012


Author: matthewbg
Date: Fri Dec  7 16:49:27 2012
New Revision: 169648

URL: http://llvm.org/viewvc/llvm-project?rev=169648&view=rev
Log:
Appease -Wnon-virtual-dtor

Modified:
    cfe/trunk/lib/Format/UnwrappedLineParser.h

Modified: cfe/trunk/lib/Format/UnwrappedLineParser.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/UnwrappedLineParser.h?rev=169648&r1=169647&r2=169648&view=diff
==============================================================================
--- cfe/trunk/lib/Format/UnwrappedLineParser.h (original)
+++ cfe/trunk/lib/Format/UnwrappedLineParser.h Fri Dec  7 16:49:27 2012
@@ -79,6 +79,8 @@
 
 class FormatTokenSource {
 public:
+  virtual ~FormatTokenSource() {
+  }
   virtual FormatToken getNextToken() = 0;
 };
 





More information about the cfe-commits mailing list