From 3c09ed006ab35dd8faac03311b14f0857b01949c Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 4 Dec 2022 17:12:44 -0800 Subject: [llvm] Use std::nullopt instead of None in comments (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 --- llvm/tools/llvm-objdump/llvm-objdump.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp') diff --git a/llvm/tools/llvm-objdump/llvm-objdump.cpp b/llvm/tools/llvm-objdump/llvm-objdump.cpp index 565e232..228e094 100644 --- a/llvm/tools/llvm-objdump/llvm-objdump.cpp +++ b/llvm/tools/llvm-objdump/llvm-objdump.cpp @@ -1681,8 +1681,8 @@ static void disassembleObject(const Target *TheTarget, ObjectFile &Obj, SectionAddr + Start, CommentStream); if (!Status) { - // If onSymbolStart returns None, that means it didn't trigger any - // interesting handling for this symbol. Try the other symbols + // If onSymbolStart returns std::nullopt, that means it didn't trigger + // any interesting handling for this symbol. Try the other symbols // defined at this address. continue; } -- cgit v1.1