[PATCH] D49063: [libclang] Add support for ObjCObjectType

Michael Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 9 00:49:41 PDT 2018


michaelwu created this revision.

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.


Repository:
  rC Clang

https://reviews.llvm.org/D49063

Files:
  include/clang-c/Index.h
  test/Index/objc-typeargs-protocols.m
  test/Index/print-type.m
  tools/c-index-test/c-index-test.c
  tools/libclang/CXType.cpp
  tools/libclang/libclang.exports

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49063.154539.patch
Type: text/x-patch
Size: 9635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180709/4a64f93a/attachment.bin>


More information about the cfe-commits mailing list