This is an archive of the discontinued LLVM Phabricator instance.

[libclang 3/8] Add support for AttributedType
ClosedPublic

Authored by michaelwu on Jul 9 2018, 8:02 AM.

Details

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.

Diff Detail

Repository
rC Clang

Event Timeline

michaelwu created this revision.Jul 9 2018, 8:02 AM
michaelwu retitled this revision from [libclang] Add support for AttributedType to [libclang 3/8] Add support for AttributedType.Jul 21 2018, 11:13 AM
yvvan accepted this revision.Jul 31 2018, 6:12 AM
This revision is now accepted and ready to land.Jul 31 2018, 6:12 AM
This revision was automatically updated to reflect the committed changes.