]> granicus.if.org Git - clang/commit
Use the name of the file on disk to issue a new diagnostic about non-portable #includ...
authorTaewook Oh <twoh@fb.com>
Fri, 3 Jun 2016 18:52:51 +0000 (18:52 +0000)
committerTaewook Oh <twoh@fb.com>
Fri, 3 Jun 2016 18:52:51 +0000 (18:52 +0000)
commit4adb3cedbb756d444192b7e23da778aa830c08e8
tree5b3b6f4074f0e79ab077fad12e529199181f77ac
parent3615f1a26931f4977fadecf324a515080970277a
Use the name of the file on disk to issue a new diagnostic about non-portable #include and #import paths.

Differential Revision: http://reviews.llvm.org/D19843
Corresponding LLVM change: http://reviews.llvm.org/D19842

Patch by Eric Niebler

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271708 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticLexKinds.td
include/clang/Basic/FileManager.h
include/clang/Basic/VirtualFileSystem.h
include/clang/Lex/DirectoryLookup.h
include/clang/Lex/HeaderSearch.h
lib/Basic/FileManager.cpp
lib/Basic/VirtualFileSystem.cpp
lib/Lex/HeaderSearch.cpp
lib/Lex/PPDirectives.cpp
test/Lexer/Inputs/case-insensitive-include.h [new file with mode: 0644]
test/Lexer/case-insensitive-include-ms.c [new file with mode: 0644]
test/Lexer/case-insensitive-include.c [new file with mode: 0644]
test/PCH/case-insensitive-include.c