summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-01-11 22:53:23 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-01-11 22:53:23 +0000
commit6c9913294398343a161141b938616817bf4acefb (patch)
tree4aba16a69f83e9271d47d97da7169b5b78c399f0 /clang
parent73edbf1682427b9b9e12a37275b8e575ed214f0b (diff)
downloadbcm5719-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.h2
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;
}
OpenPOWER on IntegriCloud