[Support] Fix -Wreturn-type in LLVM_ENABLE_THREADS=OFF build after D116846
This commit is contained in:
parent
42bc3275d3
commit
e5c944b47c
|
@ -118,7 +118,7 @@ void ThreadPool::wait() {
|
|||
}
|
||||
|
||||
bool ThreadPool::isWorkerThread() const {
|
||||
assert(false && "LLVM compiled with threading disabled");
|
||||
report_fatal_error("LLVM compiled without multithreading");
|
||||
}
|
||||
|
||||
ThreadPool::~ThreadPool() { wait(); }
|
||||
|
|
Loading…
Reference in New Issue