diff options
author | Kazu Hirata <kazu@google.com> | 2025-06-26 08:40:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-26 08:40:55 -0700 |
commit | 87729bcbb817123b50eb12f168d359c4607af16d (patch) | |
tree | 400d9e28fe64ce5d976f845b281315b203ba9ea8 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | a13cf846e0c6c9f667be505eb1aae8160240cf4a (diff) | |
download | llvm-87729bcbb817123b50eb12f168d359c4607af16d.zip llvm-87729bcbb817123b50eb12f168d359c4607af16d.tar.gz llvm-87729bcbb817123b50eb12f168d359c4607af16d.tar.bz2 |
[clangd] Migrate away from std::nullopt (NFC) (#145841)
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 std::nullopt with {}.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions