[llvm] Use Optional::operator-> (NFC)
Since std::optional does not offer getPointer(), this patch replaces X.getPointer()->foo with X->foo to make the migration from llvm::Optional to std::optional easier. 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
Loading
Please sign in to comment