[PATCH] D128131: [ADT] Add has_value, value, value_or to llvm::Optional

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 18 21:06:42 PDT 2022


dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.

Sounds good. Though it might be worth migrating/normalising uses to `op*` (rather than `value()`) and bool testing (where it do any have to be explicit) instead of has_value() when migrating callers.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128131/new/

https://reviews.llvm.org/D128131



More information about the llvm-commits mailing list