diff options
author | Fangrui Song <i@maskray.me> | 2022-12-04 19:06:47 +0000 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-12-04 19:06:47 +0000 |
commit | 7d43c3ba51fd7efe4ff7b9d86067c2563f639dab (patch) | |
tree | 5bcba5701db022c6908cd66e7e234a623837ed7c /llvm/lib/IR/LLVMContext.cpp | |
parent | ea47ccc78f953d7201601ae1a9da64c6e7865f54 (diff) | |
download | llvm-7d43c3ba51fd7efe4ff7b9d86067c2563f639dab.zip llvm-7d43c3ba51fd7efe4ff7b9d86067c2563f639dab.tar.gz llvm-7d43c3ba51fd7efe4ff7b9d86067c2563f639dab.tar.bz2 |
IR: HotnessThreshold llvm::Optional => std::optional
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 f2da7a1..dc86714 100644 --- a/llvm/lib/IR/LLVMContext.cpp +++ b/llvm/lib/IR/LLVMContext.cpp @@ -140,7 +140,7 @@ bool LLVMContext::getDiagnosticsHotnessRequested() const { return pImpl->DiagnosticsHotnessRequested; } -void LLVMContext::setDiagnosticsHotnessThreshold(Optional<uint64_t> Threshold) { +void LLVMContext::setDiagnosticsHotnessThreshold(std::optional<uint64_t> Threshold) { pImpl->DiagnosticsHotnessThreshold = Threshold; } void LLVMContext::setMisExpectWarningRequested(bool Requested) { |