Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit e0d89ff

Browse files
author
Zachary Turner
committed
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
1 parent 4110a7a commit e0d89ff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/llvm/Support/Mutex.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@
1515
#define LLVM_SUPPORT_MUTEX_H
1616

1717
#include "llvm/Support/Compiler.h"
18+
#include "llvm/Support/Threading.h"
1819
#include <cassert>
1920

2021
namespace llvm
2122
{
22-
// Forward declare this function.
23-
bool llvm_is_multithreaded();
24-
2523
namespace sys
2624
{
2725
/// @brief Platform agnostic Mutex class.

0 commit comments

Comments
 (0)