[cfe-commits] r118318 - in /cfe/trunk: include/clang/Lex/PPCallbacks.h lib/Lex/PPDirectives.cpp
Abramo Bagnara
abramo.bagnara at gmail.com
Tue Nov 9 00:03:57 PST 2010
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?
More information about the cfe-commits
mailing list