aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/gold
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-12-04 19:06:47 +0000
committerFangrui Song <i@maskray.me>2022-12-04 19:06:47 +0000
commit7d43c3ba51fd7efe4ff7b9d86067c2563f639dab (patch)
tree5bcba5701db022c6908cd66e7e234a623837ed7c /llvm/tools/gold
parentea47ccc78f953d7201601ae1a9da64c6e7865f54 (diff)
downloadllvm-7d43c3ba51fd7efe4ff7b9d86067c2563f639dab.zip
llvm-7d43c3ba51fd7efe4ff7b9d86067c2563f639dab.tar.gz
llvm-7d43c3ba51fd7efe4ff7b9d86067c2563f639dab.tar.bz2
IR: HotnessThreshold llvm::Optional => std::optional
Diffstat (limited to 'llvm/tools/gold')
-rw-r--r--llvm/tools/gold/gold-plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
index 0b26d5d..a4fda26 100644
--- a/llvm/tools/gold/gold-plugin.cpp
+++ b/llvm/tools/gold/gold-plugin.cpp
@@ -215,7 +215,7 @@ namespace options {
static std::string RemarksFilename;
static std::string RemarksPasses;
static bool RemarksWithHotness = false;
- static Optional<uint64_t> RemarksHotnessThreshold = 0;
+ static std::optional<uint64_t> RemarksHotnessThreshold = 0;
static std::string RemarksFormat;
// Context sensitive PGO options.