[cfe-commits] r147977 - /cfe/trunk/include/clang/Sema/TypoCorrection.h
Matt Beaumont-Gay
matthewbg at google.com
Wed Jan 11 14:53:24 PST 2012
Author: matthewbg
Date: Wed Jan 11 16:53:23 2012
New Revision: 147977
URL: http://llvm.org/viewvc/llvm-project?rev=147977&view=rev
Log:
Appease -Wnon-virtual-dtor
Modified:
cfe/trunk/include/clang/Sema/TypoCorrection.h
Modified: cfe/trunk/include/clang/Sema/TypoCorrection.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/TypoCorrection.h?rev=147977&r1=147976&r2=147977&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/TypoCorrection.h (original)
+++ cfe/trunk/include/clang/Sema/TypoCorrection.h Wed Jan 11 16:53:23 2012
@@ -145,6 +145,8 @@
WantObjCSuper(false),
IsObjCIvarLookup(false) {}
+ virtual ~CorrectionCandidateCallback() {}
+
virtual bool ValidateCandidate(const TypoCorrection &candidate) {
return true;
}
More information about the cfe-commits
mailing list