[cfe-commits] PATCH: Change PPCallbacks to use Token more often

Craig Silverstein csilvers at google.com
Thu Nov 18 16:27:02 PST 2010


Several PPCallbacks take an SourceLocation + IdentifierInfo, rather
than a Token that holds the same information all in one easy-to-use
package.  There's no technical reason to prefer the former -- the
information comes from a Token originally -- and it's clumsier to use,
so I've changed the code to use tokens everywhere.

Look ok to commit?

craig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pp_token.patch
Type: text/x-diff
Size: 9206 bytes
Desc: /var/tmp/pp_token.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101118/ba989093/attachment.patch>


More information about the cfe-commits mailing list