From c302fb5cc3118ba05fc4d824f4c358af16732f96 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sun, 4 Dec 2022 09:11:11 +0000 Subject: [Object] llvm::Optional => std::optional --- llvm/lib/Object/MachOObjectFile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Object/MachOObjectFile.cpp') diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp index e6ff7cb..92491a0 100644 --- a/llvm/lib/Object/MachOObjectFile.cpp +++ b/llvm/lib/Object/MachOObjectFile.cpp @@ -4957,7 +4957,7 @@ ArrayRef MachOObjectFile::getDyldInfoExportsTrie() const { return makeArrayRef(Ptr, DyldInfo.export_size); } -Expected> +Expected> MachOObjectFile::getChainedFixupsLoadCommand() const { // Load the dyld chained fixups load command. if (!DyldChainedFixupsLoadCmd) @@ -4976,7 +4976,7 @@ MachOObjectFile::getChainedFixupsLoadCommand() const { return DyldChainedFixups; } -Expected> +Expected> MachOObjectFile::getChainedFixupsHeader() const { auto CFOrErr = getChainedFixupsLoadCommand(); if (!CFOrErr) -- cgit v1.1