commit | eced60c185c92a34953090b98d8458fb2df9dc81 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Sep 12 15:17:19 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Sep 12 15:17:19 2011 +0000 |
tree | a6645024d84563cf3b1ab3c50db9c76098bd49bc | |
parent | cb4d7c202e74783d9c820f155ae27605aa9f5c16 [diff] |
Only predefine the __EXCEPTIONS macro if C++ exceptions are turned on. Only predefine the OBJC_ZEROCOST_EXCEPTIONS macro if Objective-C exceptions are turned on. Fixes PR10910. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139496 91177308-0d34-0410-b5e6-96231b3b80d8