diff options
author | Fangrui Song <i@maskray.me> | 2022-12-14 08:01:04 +0000 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-12-14 08:01:04 +0000 |
commit | da2f5d0a410bd4188792980739ca49f4169b8bd4 (patch) | |
tree | fbca7d0b3c4fab63b2536c58c53085f579c4593f /llvm/tools/llvm-xray | |
parent | d4b6fcb32e29d0cd834a3c89205fef48fbfc1d2d (diff) | |
download | llvm-da2f5d0a410bd4188792980739ca49f4169b8bd4.zip llvm-da2f5d0a410bd4188792980739ca49f4169b8bd4.tar.gz llvm-da2f5d0a410bd4188792980739ca49f4169b8bd4.tar.bz2 |
[tools] llvm::Optional => std::optional
Diffstat (limited to 'llvm/tools/llvm-xray')
-rw-r--r-- | llvm/tools/llvm-xray/xray-account.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-xray/xray-account.h b/llvm/tools/llvm-xray/xray-account.h index 371a9cc..38d3ec9 100644 --- a/llvm/tools/llvm-xray/xray-account.h +++ b/llvm/tools/llvm-xray/xray-account.h @@ -45,7 +45,7 @@ public: RecursionStatus &operator--(); bool isRecursive() const; }; - Optional<llvm::DenseMap<int32_t, RecursionStatus>> RecursionDepth; + std::optional<llvm::DenseMap<int32_t, RecursionStatus>> RecursionDepth; }; typedef llvm::DenseMap<uint32_t, FunctionStack> PerThreadFunctionStackMap; |