aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-06-26 08:41:02 -0700
committerGitHub <noreply@github.com>2025-06-26 08:41:02 -0700
commit70dce3d987ce3c8477552aa9ec67e5c8b6bd5da0 (patch)
tree20e6cd1ba38a3ec63b569446105ca2839e71f24c /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent87729bcbb817123b50eb12f168d359c4607af16d (diff)
downloadllvm-70dce3d987ce3c8477552aa9ec67e5c8b6bd5da0.zip
llvm-70dce3d987ce3c8477552aa9ec67e5c8b6bd5da0.tar.gz
llvm-70dce3d987ce3c8477552aa9ec67e5c8b6bd5da0.tar.bz2
[mlir] Migrate away from std::nullopt (NFC) (#145842)
ArrayRef has a constructor that accepts std::nullopt. This constructor dates back to the days when we still had llvm::Optional. Since the use of std::nullopt outside the context of std::optional is kind of abuse and not intuitive to new comers, I would like to move away from the constructor and eventually remove it. This patch replaces {} with std::nullopt.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions