[PATCH] D49081: [libclang] Add support for AttributedType

Michael Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 9 08:03:02 PDT 2018


michaelwu created this revision.

This patch adds support to the libclang API for identifying AttributedTypes in CXTypes and reading the modified type that the type points to. Currently AttributedTypes are skipped. This patch continues to skip AttributedTypes by default, but adds a parsing option to CXTranslationUnit to include AttributedTypes.

This patch depends on https://reviews.llvm.org/D49066 since it also adds a CXType.

Testing will be added in another patch which depends on this one.


Repository:
  rC Clang

https://reviews.llvm.org/D49081

Files:
  include/clang-c/Index.h
  tools/libclang/CXType.cpp
  tools/libclang/libclang.exports

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49081.154609.patch
Type: text/x-patch
Size: 3057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180709/284c9d44/attachment.bin>


More information about the cfe-commits mailing list