[libc++] fix macro redef warning when exception is disabled
authorWeiming Zhao <weimingz@codeaurora.org>
Thu, 21 Apr 2016 05:28:18 +0000 (05:28 +0000)
committerWeiming Zhao <weimingz@codeaurora.org>
Thu, 21 Apr 2016 05:28:18 +0000 (05:28 +0000)
commitd69a6d2b2864d3d601e5cbb42c45538f144ac8e2
tree9be36af3cd142b7cca26e6a9a3ca8f2a01278fc4
parent54a3a006cab5a108322ed61ce4fbe2939177274c
[libc++] fix macro redef warning when exception is disabled

Summary:
 when setting LIBCXX_ENABLE_EXCEPTIONS=false, _LIBCPP_NO_EXCEPTIONS wil be defined in both commandline and _config

Reviewers: bcraig, EricWF

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D19344

llvm-svn: 266956
libcxx/include/__config