[PATCH] D66976: Small update to Expected<StringRef>
Sid Manning via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 30 07:15:21 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL370474: [llvm-nm] Small fix to Exected<StringRef> (authored by sidneym, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D66976?vs=217981&id=218097#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66976/new/
https://reviews.llvm.org/D66976
Files:
llvm/trunk/tools/llvm-nm/llvm-nm.cpp
Index: llvm/trunk/tools/llvm-nm/llvm-nm.cpp
===================================================================
--- llvm/trunk/tools/llvm-nm/llvm-nm.cpp
+++ llvm/trunk/tools/llvm-nm/llvm-nm.cpp
@@ -1099,7 +1099,7 @@
Expected<StringRef> NameOrErr = (*SecIOrErr)->getName();
if (!NameOrErr) {
- consumeError(SecIOrErr.takeError());
+ consumeError(NameOrErr.takeError());
return '?';
}
SecName = *NameOrErr;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66976.218097.patch
Type: text/x-patch
Size: 458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190830/919c5b06/attachment.bin>
More information about the llvm-commits
mailing list