]> granicus.if.org Git - clang/commit
[libclang 3/8] Add support for AttributedType
authorMichael Wu <mwu.code@gmail.com>
Fri, 3 Aug 2018 04:21:25 +0000 (04:21 +0000)
committerMichael Wu <mwu.code@gmail.com>
Fri, 3 Aug 2018 04:21:25 +0000 (04:21 +0000)
commit57ac6fbcbfd3a472dd373bfa6e690633a1f0e5f8
tree549219f8f5c3cfa05dbd7f9e850d18526bc3225f
parentff3bc9c864f30c4d6d3b239bbee6cec4f40c6bf8
[libclang 3/8] Add support for AttributedType

Summary:
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 D49066 since it also adds a CXType.

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

Reviewers: yvvan, jbcoe

Reviewed By: yvvan

Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338808 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
tools/libclang/CXType.cpp
tools/libclang/libclang.exports