llvm.org GIT mirror llvm / e0d89ff
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 Zachary Turner 6 years ago
1 changed file(s) with 1 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1414 #define LLVM_SUPPORT_MUTEX_H
1515
1616 #include "llvm/Support/Compiler.h"
17 #include "llvm/Support/Threading.h"
1718 #include
1819
1920 namespace llvm
2021 {
21 // Forward declare this function.
22 bool llvm_is_multithreaded();
23
2422 namespace sys
2523 {
2624 /// @brief Platform agnostic Mutex class.