]> granicus.if.org Git - clang/commit
Fix for pr31836 - pp_nonportable_path on absolute paths: broken delimiters
authorTaewook Oh <twoh@fb.com>
Tue, 21 Feb 2017 22:30:55 +0000 (22:30 +0000)
committerTaewook Oh <twoh@fb.com>
Tue, 21 Feb 2017 22:30:55 +0000 (22:30 +0000)
commitf344a3732129770164f362006a4198ad395b81f0
tree25e90585eff87bf3c95799c0d0c34b72fde9454f
parenta03b5e37f1f67255c5cee675150e7defd943dade
Fix for pr31836 - pp_nonportable_path on absolute paths: broken delimiters

Summary: This is a patch for PR31836. As the bug replaces the path separators in the included file name with the characters following them, the test script makes sure that there's no "Ccase-insensitive-include-pr31836.h" in the warning message.

Reviewers: rsmith, eric_niebler

Reviewed By: eric_niebler

Subscribers: karies, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295779 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PPDirectives.cpp
test/Lexer/case-insensitive-include-pr31836.sh [new file with mode: 0644]