diff options
| author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-01-11 22:53:23 +0000 |
|---|---|---|
| committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-01-11 22:53:23 +0000 |
| commit | 6c9913294398343a161141b938616817bf4acefb (patch) | |
| tree | 4aba16a69f83e9271d47d97da7169b5b78c399f0 /clang | |
| parent | 73edbf1682427b9b9e12a37275b8e575ed214f0b (diff) | |
| download | bcm5719-llvm-6c9913294398343a161141b938616817bf4acefb.tar.gz bcm5719-llvm-6c9913294398343a161141b938616817bf4acefb.zip | |
Appease -Wnon-virtual-dtor
llvm-svn: 147977
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/Sema/TypoCorrection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/include/clang/Sema/TypoCorrection.h b/clang/include/clang/Sema/TypoCorrection.h index 0bb378be375..bcf58649776 100644 --- a/clang/include/clang/Sema/TypoCorrection.h +++ b/clang/include/clang/Sema/TypoCorrection.h @@ -145,6 +145,8 @@ class CorrectionCandidateCallback { WantObjCSuper(false), IsObjCIvarLookup(false) {} + virtual ~CorrectionCandidateCallback() {} + virtual bool ValidateCandidate(const TypoCorrection &candidate) { return true; } |

