Hello,

This patch is 3 functions in libclang to get more Record Layout
information from the AST when using libclang.

I am trying to implement the python ctypeslib record generator by
replacing gccxml with libclang.

Following your comments, I corrected my submission.
Yet I have no idea how to correctly implement the test of a record
size, given it is dependent of the tester's arch.
is there some lit.py magic for that ?

Files:
001:
 include/clang-c/Index.h
 tools/libclang/CXType.cpp
 tools/libclang/libclang.exports
002:
 test/Index/print-typekind.c
 tools/c-index-test/c-index-test.c
003:
 bindings/python/tests/cindex/test_type.py
 bindings/python/clang/cindex.py



-- 
Loïc Jaquemet

Attachment: expose-ast-record-layout-001
Description: Binary data

Attachment: expose-ast-record-layout-002-tests
Description: Binary data

Attachment: expose-ast-record-layout-003-python-bindings
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to