[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)
commit5f5d3fa098eac9505cfb37898a7ac31177e04917
treed3b9290b1f77216cba4bef7865e395450cd5f47a
parent8f776db7ff8898959312b234d5d6671f3e2ec61c
[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

llvm-svn: 341930
clang/bindings/python/clang/cindex.py
clang/bindings/python/tests/cindex/test_type.py