[Patch] Add the __wchar_t type in MS-compatibility mode (PR15815)
Hans Wennborg
hans at chromium.org
Tue Apr 23 08:46:07 PDT 2013
On Tue, Apr 23, 2013 at 2:48 PM, Richard Smith <richard at metafoo.co.uk> wrote:
> Does the setup code in ASTContext::InitBuiltinTypes do the right thing here?
Hmm, turns out it didn't.
I guess it's not obvious what the right thing is here. From
experimenting a bit, it seems that __wchar_t is always available, and
is always a distinct builtin type in visual studio, even in C.
New patch attached.
Thanks,
Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wchar_t2.patch
Type: application/octet-stream
Size: 2968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130423/bffaee3f/attachment.obj>
More information about the cfe-commits
mailing list