[all-commits] [llvm/llvm-project] 3c4957: [ADT] Add has_value, value, value_or to llvm::Opti...
kazutakahirata via All-commits
all-commits at lists.llvm.org
Sat Jun 18 21:21:47 PDT 2022
Author: Kazu Hirata <kazu at google.com>
Date: 2022-06-18 (Sat, 18 Jun 2022)
[ADT] Add has_value, value, value_or to llvm::Optional
This patch adds has_value, value, value_or to llvm::Optional so that
llvm::Optional looks more like std::optional.
I will keep the existing functions while migrating their callers and
then remove them later.
Differential Revision: https://reviews.llvm.org/D128131
More information about the All-commits