HomePhabricator

[APINotes] Add 'EnumExtensibility' and 'FlagEnum' API notes.

Authored by jordan_rose on Apr 13 2017, 8:12 PM.

Description

[APINotes] Add 'EnumExtensibility' and 'FlagEnum' API notes.

These map to the enum_extensibility and flag_enum attributes.
EnumExtensibility has to cover three states of "open", "closed",
and "none" because the presence of the attribute (with either an
"open" or "closed" argument) indicates auditing of the enum.

rdar://problem/29201690

apple-llvm-split-commit: 7c7f69ae64654547806e2b925987d82e4d76ce61
apple-llvm-split-dir: clang/

Details

Committed
jordan_roseApr 19 2017, 8:38 PM
Parents
rG5dde45ffd49f: Merge remote-tracking branch 'llvm.org/master' into upstream-with-swift
Branches
Unknown
Tags
Unknown