aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-11-21 00:15:35 -0800
committerKazu Hirata <kazu@google.com>2022-11-21 00:15:35 -0800
commit20f6eb7c982b8d894775a3e28b7a4c402628aafa (patch)
tree51d6bccf62009645d971f06b3c6e4579309ee125 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent5a62e6b485e1df12d85d6e15dfe708113e09feef (diff)
downloadllvm-20f6eb7c982b8d894775a3e28b7a4c402628aafa.zip
llvm-20f6eb7c982b8d894775a3e28b7a4c402628aafa.tar.gz
llvm-20f6eb7c982b8d894775a3e28b7a4c402628aafa.tar.bz2
[llvm] Use Optional::operator-> (NFC)
Since std::optional does not offer getPointer(), this patch replaces X.getPointer()->foo with X->foo to make the migration from llvm::Optional to std::optional easier. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions