diff options
author | Kazu Hirata <kazu@google.com> | 2022-08-20 21:18:28 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-08-20 21:18:28 -0700 |
commit | 258531b7ac0d43fce84a008235c597f920a6af7e (patch) | |
tree | b34b34e61aecb6e353b573596560a68e05d873f0 /llvm/lib/Support/Threading.cpp | |
parent | 06b551c944ff1cb4a21ca39c9e5ee6f67fc282ee (diff) | |
download | llvm-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.cpp | 2 |
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 |