[PATCH] When in pre-c++11 mode, treat _T("xxx") as a single string literal, repeat the _T() part around each fragment. This addresses http://llvm.org/PR17122

Daniel Jasper djasper at google.com
Thu Sep 12 11:53:06 PDT 2013


We can try and wait until someone complains .. :-)..
Flag is easy enough to add later ..


On Thu, Sep 12, 2013 at 8:47 PM, Richard Smith <richard at metafoo.co.uk>wrote:

> On Thu, Sep 12, 2013 at 11:02 AM, Alexander Kornienko <alexfh at google.com>wrote:
>
>>
>>   So, you suggest that this should be a separate style option instead?
>>
>
> Perhaps we can just do this regardless of style options. _T is a reserved
> identifier, and a quick google search suggests that people aren't actually
> using it for anything other than this MS-specific macro or as the name of a
> template parameter (which typically won't be followed by a parenthesized
> string literal).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130912/2046b265/attachment.html>


More information about the cfe-commits mailing list