diff options
author | Kazu Hirata <kazu@google.com> | 2022-06-25 13:21:34 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-06-25 13:21:34 -0700 |
commit | dc97886fa36df582ed8957d13e4e51321507dc18 (patch) | |
tree | 88376dc1a647b3b26e7e82b12a48600a28fb447b /llvm/lib/Support | |
parent | 066043c84fdb0ee0d719fd80b0ff9e0f853850d0 (diff) | |
download | llvm-dc97886fa36df582ed8957d13e4e51321507dc18.zip llvm-dc97886fa36df582ed8957d13e4e51321507dc18.tar.gz llvm-dc97886fa36df582ed8957d13e4e51321507dc18.tar.bz2 |
[flang] Restore Optional::value() (NFC)
This patch restores several calls to Optional::value() in preference
to Optional::operator*.
The Flang C++ Style Guide tells us to use x.value() where no presence
test is obviously protecting a *x reference to the contents.
Differential Revision: https://reviews.llvm.org/D128590
Diffstat (limited to 'llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions