Commit Graph

3 Commits

Author SHA1 Message Date
Jordan Rose
52af3f3f65 [ClangImporter] Translate Clang's enum_extensibility to @_frozen
Still to do: test and fix up the use of multiple enum_extensibility
annotations, possibly with API notes. This is important because the
definition of NS/CF_ENUM /includes/ enum_extensibility(open) as of
Xcode 9.0; there should be a convenient out people can use to declare
exhaustive enums in C that's backwards-compatible.
2018-03-20 14:49:10 -07:00
Jordan Rose
138304a29e [ClangImporter] Handle ns_error_domain on nameless enums with typedefs
This doesn't come up when using the NS_ERROR_ENUM macro, but it
shouldn't crash the compiler, and it was easy enough to fix.
2018-01-04 15:06:25 -08:00
Jordan Rose
61798ff6ec [test] Rename test/ClangModules to test/ClangImporter. (#5618)
...to match the component in include/ and lib/. No content change.
2016-11-02 18:00:53 -07:00