summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorVolodymyr Sapsai <vsapsai@apple.com>2019-01-15 20:08:23 +0000
committerVolodymyr Sapsai <vsapsai@apple.com>2019-01-15 20:08:23 +0000
commit3bbdd87c88d710bfb3e96cd8eabfaf3079c3f696 (patch)
tree85d7f9fc747943f9b8b1406c9f8aead1ce454f76 /clang/test
parent99fcbf67d04d488d819bffb8fda3bb9d5504b63b (diff)
downloadbcm5719-llvm-3bbdd87c88d710bfb3e96cd8eabfaf3079c3f696.tar.gz
bcm5719-llvm-3bbdd87c88d710bfb3e96cd8eabfaf3079c3f696.zip
[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 llvm-svn: 351232
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Preprocessor/include-likely-typo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/include-likely-typo.c b/clang/test/Preprocessor/include-likely-typo.c
index 88942ae6f89..89abe2a6e87 100644
--- a/clang/test/Preprocessor/include-likely-typo.c
+++ b/clang/test/Preprocessor/include-likely-typo.c
@@ -1,3 +1,4 @@
// RUN: %clang_cc1 %s -verify
+// RUN: %clang_cc1 -fms-compatibility %s -verify
#include "<empty_file_to_include.h>" // expected-error {{'<empty_file_to_include.h>' file not found, did you mean 'empty_file_to_include.h'?}}
OpenPOWER on IntegriCloud