On Jan 19, 2012, at 11:09 AM, James Molloy wrote: > OK thanks - I'm not well versed on what Darwin does and does not use. #ifndef > darwin should be fine, but wouldn't it be better to conditionalise on a > predefine that defines what EH mode is being used? > > something like #ifdef __ARM_EH_ABI, which could be defined in the frontend > depending on the eh type given on the commandline?
I agree. Since this is a Clang-specific header, though, we should use __has_feature. Maybe __has_feature(arm_exceptions_abi)? John. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
