[cfe-dev] Using clang reporting for a clang-tool

Armand Leclercq marman.email at gmail.com
Mon Mar 18 14:32:52 PDT 2013


2013/3/18 Argyrios Kyrtzidis <akyrtzi at gmail.com>:
> We don't keep track of the argument locations.
>
> We could either:
> 1) Store the argument source locations in MacroInfo
> 2) Lazily re-lex and cache the argument locations of a MacroInfo when they
> are requested.
>
> I personally am leaning towards 2) since the argument locations don't have
> any use for the compiler currently.
>
> Are you interested in working on a patch ?

I figured out that clang don't keep track of macro argument locations.

I first though of doing a patch, but I don't think I'm able to create
a correct patch without any pointers.

-- 
Armand Leclercq
EPITA 2013 Assistant C/Unix



More information about the cfe-dev mailing list