-
- Downloads
Expose cxx constructor and method properties through libclang and python bindings.
Summary: I have exposed the following function through libclang and the clang.cindex python bindings: clang_CXXConstructor_isConvertingConstructor, clang_CXXConstructor_isCopyConstructor, clang_CXXConstructor_isDefaultConstructor, clang_CXXConstructor_isMoveConstructor, clang_CXXMethod_isDefaulted I need (some of) these methods for a C++ code model I am building in Python to drive a code generator. Reviewers: compnerd, skalinichev Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D15469 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267706 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- bindings/python/clang/cindex.py 46 additions, 0 deletionsbindings/python/clang/cindex.py
- bindings/python/tests/cindex/test_cursor.py 82 additions, 0 deletionsbindings/python/tests/cindex/test_cursor.py
- include/clang-c/Index.h 25 additions, 0 deletionsinclude/clang-c/Index.h
- test/Index/availability.cpp 1 addition, 1 deletiontest/Index/availability.cpp
- test/Index/file-refs.cpp 3 additions, 3 deletionstest/Index/file-refs.cpp
- test/Index/get-cursor.cpp 1 addition, 1 deletiontest/Index/get-cursor.cpp
- test/Index/index-file.cpp 17 additions, 0 deletionstest/Index/index-file.cpp
- test/Index/load-classes.cpp 3 additions, 3 deletionstest/Index/load-classes.cpp
- test/Index/print-type.cpp 1 addition, 1 deletiontest/Index/print-type.cpp
- test/Index/recursive-cxx-member-calls.cpp 3 additions, 3 deletionstest/Index/recursive-cxx-member-calls.cpp
- test/Parser/skip-function-bodies.mm 1 addition, 1 deletiontest/Parser/skip-function-bodies.mm
- tools/c-index-test/c-index-test.c 12 additions, 1 deletiontools/c-index-test/c-index-test.c
- tools/libclang/CIndex.cpp 52 additions, 0 deletionstools/libclang/CIndex.cpp
- tools/libclang/libclang.exports 5 additions, 0 deletionstools/libclang/libclang.exports
Loading
Please register or sign in to comment