diff options
author | Kazu Hirata <kazu@google.com> | 2022-06-20 20:05:16 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-06-20 20:05:16 -0700 |
commit | 064a08cd955019da9130f1109bfa534e79b8ec7c (patch) | |
tree | e097a750d667d8ea431e374106ffbf075c8e3c90 /llvm/lib/IR/LLVMContext.cpp | |
parent | b89f483064716be015d74e6ed3e0b09f9d925c30 (diff) | |
download | llvm-064a08cd955019da9130f1109bfa534e79b8ec7c.zip llvm-064a08cd955019da9130f1109bfa534e79b8ec7c.tar.gz llvm-064a08cd955019da9130f1109bfa534e79b8ec7c.tar.bz2 |
Don't use Optional::hasValue (NFC)
Diffstat (limited to 'llvm/lib/IR/LLVMContext.cpp')
-rw-r--r-- | llvm/lib/IR/LLVMContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/LLVMContext.cpp b/llvm/lib/IR/LLVMContext.cpp index 5dfca4a..4a1d5d3 100644 --- a/llvm/lib/IR/LLVMContext.cpp +++ b/llvm/lib/IR/LLVMContext.cpp @@ -156,7 +156,7 @@ uint64_t LLVMContext::getDiagnosticsMisExpectTolerance() const { } bool LLVMContext::isDiagnosticsHotnessThresholdSetFromPSI() const { - return !pImpl->DiagnosticsHotnessThreshold.hasValue(); + return !pImpl->DiagnosticsHotnessThreshold.has_value(); } remarks::RemarkStreamer *LLVMContext::getMainRemarkStreamer() { |