[Patch] Add the __wchar_t type in MS-compatibility mode (PR15815)

Richard Smith richard at metafoo.co.uk
Tue Apr 23 06:48:30 PDT 2013


Does the setup code in ASTContext::InitBuiltinTypes do the right thing
here? Otherwise this looks fine to me (strangely we seem to go out of our
way to support a wchar_t keyword outside C++ mode already...).


On Tue, Apr 23, 2013 at 6:42 AM, Eric Christopher <echristo at gmail.com>wrote:

> Might want to explain the C/C++ difference in the test and commit message.
>
> Otherwise should be OK.
>
> -eric
>
> On Tue, Apr 23, 2013 at 2:37 PM, Hans Wennborg <hans at chromium.org> wrote:
> > Hi all,
> >
> > The attached patch adds support for the __wchar_t type in
> > MS-compatibility mode. It's the same as wchar_t, but also available in
> > C-mode.
> >
> > Please take a look.
> >
> > Thanks,
> > Hans
> >
> > _______________________________________________
> > cfe-commits mailing list
> > cfe-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> >
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130423/467bd2d5/attachment.html>


More information about the cfe-commits mailing list