[cfe-commits] [PATCH] Fix bug in pythonbindings SourceLocation.offset

Anders Waldenborg anders at 0x63.nu
Wed Aug 17 06:42:49 PDT 2011


Attatched patch fixes a simple typo - column (c.value) was used
instead of offset (o.value) - making the offset attribute of
SourceLocation object return the wrong value.

The patch also adds a new file with a testcase verifying this
functionality.

 anders
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-python-SourceLocation-offset-bug.patch
Type: text/x-diff
Size: 3004 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110817/b5d8602f/attachment.patch>


More information about the cfe-commits mailing list