[llvm] r255611 - Try to let r255604 have an effect.

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 19:14:19 PST 2015


Author: nico
Date: Mon Dec 14 21:14:19 2015
New Revision: 255611

URL: http://llvm.org/viewvc/llvm-project?rev=255611&view=rev
Log:
Try to let r255604 have an effect.

Modified:
    llvm/trunk/include/llvm/Support/ThreadPool.h

Modified: llvm/trunk/include/llvm/Support/ThreadPool.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ThreadPool.h?rev=255611&r1=255610&r2=255611&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ThreadPool.h (original)
+++ llvm/trunk/include/llvm/Support/ThreadPool.h Mon Dec 14 21:14:19 2015
@@ -16,6 +16,12 @@
 
 #include "llvm/Support/thread.h"
 
+#ifdef _MSC_VER
+// concrt.h depends on eh.h for __uncaught_exception declaration
+// even if we disable exceptions.
+#include <eh.h>
+#endif
+
 #include <condition_variable>
 #include <functional>
 #include <future>
@@ -24,12 +30,6 @@
 #include <queue>
 #include <utility>
 
-#ifdef _MSC_VER
-// concrt.h depends on eh.h for __uncaught_exception declaration
-// even if we disable exceptions.
-#include <eh.h>
-#endif
-
 namespace llvm {
 
 /// A ThreadPool for asynchronous parallel execution on a defined number of




More information about the llvm-commits mailing list