================
@@ -3908,7 +3933,8 @@ template <class ELFT> void
GNUELFDumper<ELFT>::printRelocations() {
HasRelocSections = true;
std::string EntriesNum = "<?>";
- if (Expected<size_t> NumOrErr = GetEntriesNum(Sec))
+ Expected<size_t> NumOrErr = GetEntriesNum(Sec);
+ if (NumOrErr)
----------------
jh7370 wrote:
Why has this changed?
https://github.com/llvm/llvm-project/pull/91280
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits