]> granicus.if.org Git - clang/commit
Remove a dead argument to ProcessUCNEscape.
authorChris Lattner <sabre@nondot.org>
Tue, 15 Jun 2010 18:06:43 +0000 (18:06 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 15 Jun 2010 18:06:43 +0000 (18:06 +0000)
commit37dd3ecbfc555c3ee0a1922f4bd5ab999c1e5461
treeed865577b3275ce35a4ccafe7d93b2b32c598f0b
parent7dc480fa428beceaa784b8a3b35d7df0bf849a58
Remove a dead argument to ProcessUCNEscape.

Fix string concatenation to treat escapes in concatenated strings that
are wide because of other string chunks to process the escapes as wide
themselves.  Before we would warn about and miscompile the attached testcase.

This fixes rdar://8040728 - miscompile + warning: hex escape sequence out of range

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106012 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/LiteralSupport.cpp
test/SemaCXX/wchar_t.cpp