[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

Richard Smith richard at metafoo.co.uk
Thu Sep 12 11:47:01 PDT 2013

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/518be81b/attachment.html>

More information about the cfe-commits mailing list