summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/gtest_common.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-03-03 20:21:59 +0000
committerZachary Turner <zturner@google.com>2017-03-03 20:21:59 +0000
commit1e021a162ed10c6b832cbbdd829396d55a0a71c7 (patch)
tree66b0eb5edb1e83613df712f006550f6d6ca4b09b /lldb/unittests/gtest_common.h
parenta04d7ad8518c52cb9bc70c2f58c41685b5001b68 (diff)
downloadbcm5719-llvm-1e021a162ed10c6b832cbbdd829396d55a0a71c7.tar.gz
bcm5719-llvm-1e021a162ed10c6b832cbbdd829396d55a0a71c7.zip
[Windows] Remove the #include <eh.h> hack.
Prior to MSVC 2015 we had to manually include this header any time we were going to include <thread> or <future> due to a bug in MSVC's STL implementation. This has been fixed in MSVC for some time now, and we require VS 2015 minimum, so we can remove this across all subprojects. llvm-svn: 296906
Diffstat (limited to 'lldb/unittests/gtest_common.h')
-rw-r--r--lldb/unittests/gtest_common.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lldb/unittests/gtest_common.h b/lldb/unittests/gtest_common.h
index c8fe9257594..f61ba9d0c37 100644
--- a/lldb/unittests/gtest_common.h
+++ b/lldb/unittests/gtest_common.h
@@ -15,12 +15,3 @@
// This header file is force included by all of LLDB's unittest compilation
// units. Be very leary about putting anything in this file.
-
-#if defined(_MSC_VER) && (_HAS_EXCEPTIONS == 0)
-// Due to a bug in <thread>, when _HAS_EXCEPTIONS == 0 the header will try to
-// call
-// uncaught_exception() without having a declaration for it. The fix for this
-// is
-// to manually #include <eh.h>, which contains this declaration.
-#include <eh.h>
-#endif
OpenPOWER on IntegriCloud