]> granicus.if.org Git - clang/commitdiff
Appease -Wnon-virtual-dtor
authorMatt Beaumont-Gay <matthewbg@google.com>
Wed, 11 Jan 2012 22:53:23 +0000 (22:53 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Wed, 11 Jan 2012 22:53:23 +0000 (22:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147977 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/TypoCorrection.h

index 0bb378be3750ba5f63fcad7a88380f331aa20eee..bcf58649776db6521988b2bd0e0b21fade4515b1 100644 (file)
@@ -145,6 +145,8 @@ class CorrectionCandidateCallback {
         WantObjCSuper(false),
         IsObjCIvarLookup(false) {}
 
+  virtual ~CorrectionCandidateCallback() {}
+
   virtual bool ValidateCandidate(const TypoCorrection &candidate) {
     return true;
   }