]> granicus.if.org Git - clang/commit
[python bindings] Expose getNumTemplateArguments
authorJonathan Coe <jbcoe@me.com>
Tue, 11 Sep 2018 12:44:52 +0000 (12:44 +0000)
committerJonathan Coe <jbcoe@me.com>
Tue, 11 Sep 2018 12:44:52 +0000 (12:44 +0000)
commitafd6ff8f05a7181cde0b93630fdd2d673fda871c
tree8ffa5a7c5e249f244ad327f01f6f4f7df53b0e00
parentda0bf49b457141b5a563b7d29052ca1918200a59
[python bindings] Expose getNumTemplateArguments

Expose the C bindings for clang_Type_getNumTemplateArguments() and
clang_Type_getTemplateArgumentAsType() in the python API.

Patch by kjteske (Kyle Teske).

Reviewed By: jbcoe

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D51299

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341930 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/clang/cindex.py
bindings/python/tests/cindex/test_type.py