summaryrefslogtreecommitdiff
path: root/include/llvm/Support
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-06-19 20:20:03 +0000
committerZachary Turner <zturner@google.com>2014-06-19 20:20:03 +0000
commite0d89ff76414a1369c54fbd261308e1c313548d7 (patch)
tree3dfdd4e10b7db0acb4d42fd4bfdfd86e0c6d0a28 /include/llvm/Support
parent4110a7ac7ac9f5814b6828e498efdb3e75110f66 (diff)
downloadllvm-e0d89ff76414a1369c54fbd261308e1c313548d7.tar.gz
llvm-e0d89ff76414a1369c54fbd261308e1c313548d7.tar.bz2
llvm-e0d89ff76414a1369c54fbd261308e1c313548d7.tar.xz
Include Threading.h instead of forward declaring a function.
Previously this led to a circular header dependency, but a recent change has since removed this dependency, so the correct fix is to simply include the header rather than forward declare. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r--include/llvm/Support/Mutex.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Support/Mutex.h b/include/llvm/Support/Mutex.h
index f340051361..496a4381f3 100644
--- a/include/llvm/Support/Mutex.h
+++ b/include/llvm/Support/Mutex.h
@@ -15,13 +15,11 @@
#define LLVM_SUPPORT_MUTEX_H
#include "llvm/Support/Compiler.h"
+#include "llvm/Support/Threading.h"
#include <cassert>
namespace llvm
{
- // Forward declare this function.
- bool llvm_is_multithreaded();
-
namespace sys
{
/// @brief Platform agnostic Mutex class.