[AST] Use std::optional in ExprConstant.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 06:19:46 +0000 (22:19 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 06:19:46 +0000 (22:19 -0800)
commit50ba59d1b659558a06273003bbf28227323a055f
tree334c96e388994ced363ec3c3c725eae27bbf88cf
parent17d779be76d9597fe13478392b266543761fedca
[AST] Use std::optional in ExprConstant.cpp (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
clang/lib/AST/ExprConstant.cpp