]> granicus.if.org Git - clang/commit
fix PR5917, L'x' was getting the wrong type in c++ mode. Per
authorChris Lattner <sabre@nondot.org>
Wed, 30 Dec 2009 21:19:39 +0000 (21:19 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 30 Dec 2009 21:19:39 +0000 (21:19 +0000)
commite8337dff778f6386f0a2a08f5def71a8dd44f2c8
tree6c3fa25196bda85ac42e491586c8ac20c8a71592
parent6f0a0a9d2068c2ee9f399c72bf550c307bb76f9a
fix PR5917, L'x' was getting the wrong type in c++ mode. Per
C++2.13.2p2: "A wide-character literal has type wchar_t"

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