aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Threading.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-08-20 21:18:28 -0700
committerKazu Hirata <kazu@google.com>2022-08-20 21:18:28 -0700
commit258531b7ac0d43fce84a008235c597f920a6af7e (patch)
treeb34b34e61aecb6e353b573596560a68e05d873f0 /llvm/lib/Support/Threading.cpp
parent06b551c944ff1cb4a21ca39c9e5ee6f67fc282ee (diff)
downloadllvm-258531b7ac0d43fce84a008235c597f920a6af7e.zip
llvm-258531b7ac0d43fce84a008235c597f920a6af7e.tar.gz
llvm-258531b7ac0d43fce84a008235c597f920a6af7e.tar.bz2
Remove redundant initialization of Optional (NFC)
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
-rw-r--r--llvm/lib/Support/Threading.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Threading.cpp b/llvm/lib/Support/Threading.cpp
index 1a7ecde..b14ff95 100644
--- a/llvm/lib/Support/Threading.cpp
+++ b/llvm/lib/Support/Threading.cpp
@@ -81,7 +81,7 @@ unsigned llvm::ThreadPoolStrategy::compute_thread_count() const {
// main thread (8MB) before creation.
const llvm::Optional<unsigned> llvm::thread::DefaultStackSize = 8 * 1024 * 1024;
#else
-const llvm::Optional<unsigned> llvm::thread::DefaultStackSize = None;
+const llvm::Optional<unsigned> llvm::thread::DefaultStackSize;
#endif