SourceTypeInfo for long long

Alexander Kornienko via cfe-commits cfe-commits at
Tue Mar 1 06:09:15 PST 2016

+cfe-commits for wider audience.

Hi Piotr,

On Tue, Mar 1, 2016 at 2:36 PM, Piotr Padlewski <piotr.padlewski at>

> Hi Alexey,
I am currently writing new check

Awesome! Sorry I didn't have time yet to comment on the issues you filed,
though I have a couple of thoughts.

> I have problem with SourceTypeInfo. I am doing the same thing as
> modernize-use-auto (for new expression) does, but it doesn't work for non
> pointer types.

If you point me to the code, it will be easier to answer your question.
Currently I can only guess what you're talking about.

> I have checked, and my code works for pointers types like long long.

What do you mean by `long long` being a `pointer type`?

In any case, without seeing the code it's hard to answer your question. You
can upload a patch to and add a test case that fails for
you (or another good way to reproduce the issue you're facing).

> Am I doing something wrong, or is it just bug in SourceTypeInfo.getEnd()?
> Piotr

-- Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the cfe-commits mailing list