[cfe-dev] Confused about SourceLocs
Nico Weber
nicolasweber at gmx.de
Sun Sep 28 17:32:36 PDT 2008
Hi all,
is it correct that both the logical and the physical location of a
macro SourceLoc are always file SourceLocs?
Just out of curiosity: Does clang in any way store which macro calls
which other macros?
Finally, the attached patch adds some functions to FullSourceLocation
that are useful in my eyes. It also modifies isValidMacroPhysOffs() to
use the complete range of a two's complement integer.
Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: locs.patch
Type: application/octet-stream
Size: 3208 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080928/006335ad/attachment.obj>
-------------- next part --------------
More information about the cfe-dev
mailing list