]> granicus.if.org Git - clang/commit
[libclang 1/8] Add support for ObjCObjectType
authorMichael Wu <mwu.code@gmail.com>
Fri, 3 Aug 2018 03:03:20 +0000 (03:03 +0000)
committerMichael Wu <mwu.code@gmail.com>
Fri, 3 Aug 2018 03:03:20 +0000 (03:03 +0000)
commitcfa6f95d761c637715ade56c863d2e9921ad8f87
tree5a3a16e250015491c8cec6727b36484240e80d60
parentb7133123731b658bd5b55b9c1cca4088b49a268f
[libclang 1/8] Add support for ObjCObjectType

Summary: This patch adds support to the clang-c API for identifying ObjCObjects in CXTypes, enumerating type args and protocols on ObjCObjectTypes, and retrieving the base type of ObjCObjectTypes. Currently only ObjCInterfaceTypes are exposed, which do not have type args or protocols.

Reviewers: yvvan, jbcoe

Reviewed By: yvvan

Subscribers: cfe-commits

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

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