]> granicus.if.org Git - clang/commit
[libclang 4/8] Add the clang_Type_getNullability() API
authorMichael Wu <mwu.code@gmail.com>
Fri, 3 Aug 2018 04:38:04 +0000 (04:38 +0000)
committerMichael Wu <mwu.code@gmail.com>
Fri, 3 Aug 2018 04:38:04 +0000 (04:38 +0000)
commit9824aedd2e10e8b76092aad54ad9568b458bd56d
tree2d811c68d369a4fe16f3c1d1837e6ded592deb7e
parent57ac6fbcbfd3a472dd373bfa6e690633a1f0e5f8
[libclang 4/8] Add the clang_Type_getNullability() API

Summary:
This patch adds a clang-c API for querying the nullability of an AttributedType.

The test here also tests D49081

Reviewers: yvvan, jbcoe

Reviewed By: yvvan

Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338809 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
test/Index/nullability.c [new file with mode: 0644]
tools/c-index-test/c-index-test.c
tools/libclang/CXType.cpp
tools/libclang/libclang.exports