[Preprocessor] Hide include typo correction behind SpellChecking.
authorHaojian Wu <hokein@google.com>
Tue, 2 Oct 2018 13:59:49 +0000 (13:59 +0000)
committerHaojian Wu <hokein@google.com>
Tue, 2 Oct 2018 13:59:49 +0000 (13:59 +0000)
commitdea577191cf608d57b5bf14e67a517539433a5d0
tree4b0aec375b415aae47bba498362a906777fca58d
parent51be55d0ec7270cc8f2f09c96d19debab2aa88c9
[Preprocessor] Hide include typo correction behind SpellChecking.

Summary:
Similar to Sema typo correction, the Preprocessor typo correction should
also be hidden behind the SpellChecking flag.

Reviewers: sammccall

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D52778

llvm-svn: 343591
clang/lib/Lex/PPDirectives.cpp