summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
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/packages/Python/lldbsuite
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/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/make/test_common.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/make/test_common.h b/lldb/packages/Python/lldbsuite/test/make/test_common.h
index 575ca62c2fc..3ffece26d04 100644
--- a/lldb/packages/Python/lldbsuite/test/make/test_common.h
+++ b/lldb/packages/Python/lldbsuite/test/make/test_common.h
@@ -10,14 +10,6 @@
#define LLDB_TEST_API
#endif
-#if defined(__cplusplus) && defined(_MSC_VER) && (_HAS_EXCEPTIONS == 0)
-// Compiling MSVC libraries with _HAS_EXCEPTIONS=0, eliminates most but not all
-// calls to __uncaught_exception. Unfortunately, it does seem to eliminate
-// the delcaration of __uncaught_excpeiton. Including <eh.h> ensures that it is
-// declared. This may not be necessary after MSVC 12.
-#include <eh.h>
-#endif
-
#if defined(_WIN32)
#define LLVM_PRETTY_FUNCTION __FUNCSIG__
#else
OpenPOWER on IntegriCloud