The Darwin module has specified [no_undeclared_includes] for at least five years now, there's no need to hard code it in the compiler.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I'm fine with this change, but do we actually have a backwards compatibility policy anywhere in Clang? Would be good to know what range of SDKs a compiler release is expected to support.
Comment Actions
I don't know about backwards compatibility, but I found the Darwin module added the attribute in 2017 macOS 10.13/iOS 11.0. As far as I can tell from the original change, adding the attribute didn't actually fix anything, it was just used to detect cycles between libc++ and Darwin, so I think removing the hard code wouldn't even break older OSes.