[cfe-commits] r132247 - in /cfe/trunk: include/clang/Basic/SourceManager.h lib/Basic/SourceManager.cpp
Abramo Bagnara
abramo.bagnara at gmail.com
Sat May 28 00:45:14 PDT 2011
Il 28/05/2011 05:56, Argyrios Kyrtzidis ha scritto:
> Author: akirtzidis
> Date: Fri May 27 22:56:11 2011
> New Revision: 132247
>
> URL: http://llvm.org/viewvc/llvm-project?rev=132247&view=rev
> Log:
> Add a couple of helper methods in the SourceManager API, isAtStartOfMacroInstantiation/isAtEndOfMacroInstantiation
> useful only for source locations that point at a macro token.
This is *very* useful!
Using similar technique do you think it is feasible to do an helper that
permit to know if a macro token is at start/end of a macro argument?
More information about the cfe-commits
mailing list