[cfe-commits] Patches for clang -ast-print

Eli Friedman eli.friedman at gmail.com
Mon Oct 29 13:25:21 PDT 2012


On Sun, Oct 28, 2012 at 1:52 PM, Grzegorz Jablonski <grzejabl at gmail.com> wrote:
> On 10/28/2012 09:04 PM, Eli Friedman wrote:
>>
>> On Sun, Oct 28, 2012 at 3:41 AM, Grzegorz Jablonski <grzejabl at gmail.com>
>> wrote:
>>>
>>> On 10/28/2012 03:45 AM, Eli Friedman wrote:
>>>>
>>>> We shouldn't be printing "operator const char*" in the first place.
>>>
>>> OK, revised patch.
>>
>> Please use CastExpr::getSubExprAsWritten.
>>
> Like that?

(Adding cfe-commits to the CC list.)

It's a bit scary that this affects CFG dumping. Can someone who knows
that code take a look?

-Eli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ast-print-e50.diff
Type: application/octet-stream
Size: 23176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121029/6059f73f/attachment.obj>


More information about the cfe-commits mailing list