Committing to https://llvm.org/svn/llvm-project/cfe/trunk ... M bindings/python/clang/cindex.py M bindings/python/tests/cindex/test_location.py Committed r158307
On Mon, Jun 11, 2012 at 12:03 PM, Manuel Klimek <[email protected]> wrote: > lgtm > > On Sat, Jun 9, 2012 at 6:39 PM, Gregory Szorc <[email protected]> > wrote: >> >> --- >> bindings/python/clang/cindex.py | 14 ++++++++++++++ >> bindings/python/tests/cindex/test_location.py | 9 +++++++++ >> 2 files changed, 23 insertions(+) >> >> Pretty basic patch. I'll probably follow up at some later date with an >> API to better integrate the SourceLocation retrieval functions with >> TranslationUnit. e.g. tu.get_location(file='foo.c', line=10, column=4) >> or tu.get_location(file='foo.c', offset=10). But, that's for a future >> patch. >> >> Greg >> >> _______________________________________________ >> cfe-commits mailing list >> [email protected] >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >> > _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
