diff options
author | Kazu Hirata <kazu@google.com> | 2025-06-24 07:03:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-24 07:03:59 -0700 |
commit | 63f30d7d820c76f3227f5905311fadfe9d208f93 (patch) | |
tree | 3089aa4b4faa1518ebb13d30213d727f2f9b5c80 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 6dad1e87fb7a8de7033a315f5dd5d7c95dab32f6 (diff) | |
download | llvm-63f30d7d820c76f3227f5905311fadfe9d208f93.zip llvm-63f30d7d820c76f3227f5905311fadfe9d208f93.tar.gz llvm-63f30d7d820c76f3227f5905311fadfe9d208f93.tar.bz2 |
[mlir] Migrate away from {TypeRange,ValueRange}(std::nullopt) (NFC) (#145445)
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 TypeRagne(std::nullopt) and
ValueRange(std::nullopt).
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions