Il 09/11/2010 08:26, Craig Silverstein ha scritto:
> Sorry, I didn't see your first email about this.  I'm just following existing 
> practice on all the other PPCallbacks -- none of them return the location of 
> the 

I don't understand what you mean with "return"...

> actual preprocessor token, they only return locations (and other information) 
> about the "arguments" to the preprocessor token: the tokens of the macro 
> definition, for instance.  I don't know why they did it that way, but I 
> thought 
> it best to be consistent.

AFAICT all PPCallbacks are invoked with enough info to get the relevant
locations (please take a look to include/clang/Lex/PPCallbacks.h)

Else and Endif are the exceptions.

I'm missing something?
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to