mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-23 20:36:04 +00:00

We always provide the std:: exception types, even when exceptions are disabled. This is a bit counter-intuitive, but these exception types are just normal types at the end of the day so we made the decision to always provide their definition. Failure to re-export these types would cause libc++ to fail to link on Apple platforms when exceptions are disabled.