Details
- Reviewers
ilya-biryukov
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 14180 Build 14180: arc lint + arc unit
Event Timeline
lib/Sema/Sema.cpp | ||
---|---|---|
143 | It seems weird that typo-correction is only controlled by CodeCompleter for all of Sema. |
lib/Sema/Sema.cpp | ||
---|---|---|
143 | Yeah, it is weird. After looking through the code of Sema, modifying DisableTypoCorrection is not the right way - as this method variable is controlled by Sema internally (it will change the value back and forth). Fortunately I figured out clang already provides a way to control the typo correction. We don't need this patch. Sorry for the noise. |
It seems weird that typo-correction is only controlled by CodeCompleter for all of Sema.
I wonder whether putting that into FrontendOptions makes more sense. WDYT?