aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Sema/TypoCorrection.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Sema/TypoCorrection.h')
-rw-r--r--include/clang/Sema/TypoCorrection.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/clang/Sema/TypoCorrection.h b/include/clang/Sema/TypoCorrection.h
index a333c8182b..a8f6e1178b 100644
--- a/include/clang/Sema/TypoCorrection.h
+++ b/include/clang/Sema/TypoCorrection.h
@@ -205,7 +205,7 @@ class CorrectionCandidateCallback {
: WantTypeSpecifiers(true), WantExpressionKeywords(true),
WantCXXNamedCasts(true), WantRemainingKeywords(true),
WantObjCSuper(false),
- IsObjCIvarLookup(false), AllowAddedQualifier(true) {}
+ IsObjCIvarLookup(false) {}
virtual ~CorrectionCandidateCallback() {}
@@ -239,10 +239,6 @@ class CorrectionCandidateCallback {
// Temporary hack for the one case where a CorrectTypoContext enum is used
// when looking up results.
bool IsObjCIvarLookup;
-
- /// \brief Whether to allow this typo correction to add a
- /// nested-name-specifier.
- bool AllowAddedQualifier;
};
/// @brief Simple template class for restricting typo correction candidates