[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
Loading
Please sign in to comment