]> granicus.if.org Git - clang/commit
[libclang] Support for querying the exception specification type through libclang
authorJonathan Coe <jbcoe@me.com>
Tue, 27 Jun 2017 22:54:56 +0000 (22:54 +0000)
committerJonathan Coe <jbcoe@me.com>
Tue, 27 Jun 2017 22:54:56 +0000 (22:54 +0000)
commit34efc84dff3e2cb91e6afdf460a7893a4a886029
tree8e9b74edbd34bfca8650e42434927043d872044d
parent563c0ec65e052e93085d4e3b7fede21da5ea768f
[libclang] Support for querying the exception specification type through libclang

Summary: This patch exposes the exception specification type (noexcept,
etc.) of a C++ function through libclang and Python clang.cindex.

Reviewers: rsmith, aaron.ballman

Reviewed By: aaron.ballman

Subscribers: jbcoe, cfe-commits

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

Patch by Andrew Bennieston

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306483 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/clang/cindex.py
bindings/python/tests/test_exception_specification_kind.py [new file with mode: 0644]
include/clang-c/Index.h
test/Index/get-cursor.cpp
tools/c-index-test/c-index-test.c
tools/libclang/CXType.cpp
tools/libclang/libclang.exports