We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 127471f commit 9afd973Copy full SHA for 9afd973
llvm/lib/DTLTO/Dtlto.cpp
@@ -110,7 +110,7 @@ Expected<bool> isThinArchive(const StringRef ArchivePath) {
110
ErrorOr<std::unique_ptr<MemoryBuffer>> MemBufferOrError =
111
MemoryBuffer::getFileSlice(ArchivePath, THIN_ARCHIVE_MAGIC.size(), 0);
112
113
- if (EC = MemBufferOrError.getError())
+ if ((EC = MemBufferOrError.getError()))
114
return createStringError(inconvertibleErrorCode(),
115
"Failed to read from archive %s: %s",
116
ArchivePath.data(), EC.message().c_str());
0 commit comments