HomePhabricator

[API Notes] Add support for expressing the types of entities.

Authored by doug.gregor on Nov 11 2016, 4:27 PM.

Description

[API Notes] Add support for expressing the types of entities.

Introduces the "Type" key for global variables, properties, and
parameters and the "ResultType" key for functions and methods, to
describe the (Objective-)C type of that entity. This commit handles
YAML, the representation of this information, and round-tripping
through the binary API notes.

Part of rdar://problem/28943642.

apple-llvm-split-commit: ebca3ea28181818c7fe7ba320c9ae7775d8678fa
apple-llvm-split-dir: clang/

Details

Committed
doug.gregorNov 11 2016, 4:37 PM
Parents
rG2288a35a530b: [APINotes] Add a 'SwiftImportAsAccessors' entry for properties. (#39)
Branches
Unknown
Tags
Unknown