aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-06-26 08:40:47 -0700
committerGitHub <noreply@github.com>2025-06-26 08:40:47 -0700
commita13cf846e0c6c9f667be505eb1aae8160240cf4a (patch)
tree16db76a614a0738e2b659e9a7cd7a487ada5eccf /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent620dbf1fec47a1d25d24836d95ea3d0c965abc72 (diff)
downloadllvm-a13cf846e0c6c9f667be505eb1aae8160240cf4a.zip
llvm-a13cf846e0c6c9f667be505eb1aae8160240cf4a.tar.gz
llvm-a13cf846e0c6c9f667be505eb1aae8160240cf4a.tar.bz2
[ASTMatchers] Migrate away from ArrayRef(std::nullopt) (NFC) (#145840)
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 migrates away from std::nullopt in favor of ArrayRef<T>(). Note that {} would be ambiguous for perfect forwarding to work here.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions