]> granicus.if.org Git - clang/commit
[MSVC] Fix check for wchar_t type in case of -fno-wchar
authorDmitry Polukhin <dmitry.polukhin@gmail.com>
Thu, 14 Apr 2016 09:52:06 +0000 (09:52 +0000)
committerDmitry Polukhin <dmitry.polukhin@gmail.com>
Thu, 14 Apr 2016 09:52:06 +0000 (09:52 +0000)
commitca097f76cf7f790f0d7302418fd20e7d1d9c5f08
treec9744316b0a0967cb475b386168b3af65e1e2f2b
parent56fd7e145bc7d2844f8c9e03e219674fdd9d7fcd
[MSVC] Fix check for wchar_t type in case of -fno-wchar

The example below should work identically with and without compiler native
wchar_t support.

void foo(wchar_t * t = L"");

Differential Revision: http://reviews.llvm.org/D19056

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266287 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/no-wchar.cpp