The example below should work identically with and without compiler native wchar_t support.
void foo(wchar_t * t = L"");
Differential D19056
[MSVC] Fix check for wchar_t type in case of -fno-wchar DmitryPolukhin on Apr 13 2016, 5:16 AM. Authored by
Details The example below should work identically with and without compiler native wchar_t support. void foo(wchar_t * t = L"");
Diff Detail Event TimelineComment Actions lgtm
|
Can you add some negative tests like these:
Even if they don't make it into IsStringLiteralToNonConstPointerConversion, it's nice to test around things a bit.