]> granicus.if.org Git - clang/commit
[MSVC Compat] Fix typo correction for inclusion directives.
authorVolodymyr Sapsai <vsapsai@apple.com>
Tue, 15 Jan 2019 20:08:23 +0000 (20:08 +0000)
committerVolodymyr Sapsai <vsapsai@apple.com>
Tue, 15 Jan 2019 20:08:23 +0000 (20:08 +0000)
commit12233a4da079fa013f7460b1804005a3a5e31c32
treea965af912e3639e5b8f7dc2c633beff86e3a5826
parentc47632910e42ced8ffe62fd89a38d55cc8935d27
[MSVC Compat] Fix typo correction for inclusion directives.

In MSVC compatibility mode we were checking not the typo corrected
filename but the original filename.

Reviewers: christylee, compnerd

Reviewed By: christylee

Subscribers: jkorous, dexonsmith, sammccall, hokein, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351232 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PPDirectives.cpp
test/Preprocessor/include-likely-typo.c