Commit Graph

4 Commits

Author SHA1 Message Date
Anthony Latsis
9b924684d3 Gardening: Migrate test suite to GH issues: PrintAsObjC 2022-09-02 01:44:24 +03:00
Ben Barham
7b807d52e3 [PrintAsObjC] Do not output invalid decls when allowing errors
We still want the ObjectiveC header when allowing errors, but make sure
to skip printing out any invalid declarations that may be caused because
of those errors.

In particular, duplicate declarations were causing a crash when sorting
declarations where various assumptions would end up casting a
non-ExtensionDecl to an ExtensionDecl.

Resolves rdar://78023656
2021-08-19 08:45:48 +10:00
Ben Barham
b34b9826c6 [Gardening] Remove invalid RUN lines that were accidentally merged
ab5a42160c added a new test case with
invalid RUN lines - they were a copy paste from a different file, not
intended to be committed.
2021-03-27 17:52:27 +10:00
Ben Barham
ab5a42160c [Frontend] Always emit generated ObjectiveC header when allowing errors
Resolves rdar://75754282
2021-03-25 16:19:09 +10:00