[llvm] r323393 - [ORC] Try to silence compiler error at
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 24 17:05:29 PST 2018
Author: lhames
Date: Wed Jan 24 17:05:29 2018
New Revision: 323393
URL: http://llvm.org/viewvc/llvm-project?rev=323393&view=rev
Log:
[ORC] Try to silence compiler error at
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/17264
NFC.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/Orc/Legacy.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/Legacy.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/Legacy.h?rev=323393&r1=323392&r2=323393&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/Legacy.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/Legacy.h Wed Jan 24 17:05:29 2018
@@ -80,11 +80,11 @@ SymbolNameSet lookupWithLegacyFn(Asynchr
Query.notifySymbolFinalized();
} else {
Query.setFailed(Addr.takeError());
- return {};
+ return SymbolNameSet();
}
} else if (auto Err = Sym.takeError()) {
Query.setFailed(std::move(Err));
- return {};
+ return SymbolNameSet();
} else
SymbolsNotFound.insert(S);
}
More information about the llvm-commits
mailing list