[llvm] r286563 - Fix build failure, update llvm-strings for the new Error API
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 10 20:50:19 PST 2016
Author: mehdi_amini
Date: Thu Nov 10 22:50:18 2016
New Revision: 286563
URL: http://llvm.org/viewvc/llvm-project?rev=286563&view=rev
Log:
Fix build failure, update llvm-strings for the new Error API
Modified:
llvm/trunk/tools/llvm-strings/llvm-strings.cpp
Modified: llvm/trunk/tools/llvm-strings/llvm-strings.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-strings/llvm-strings.cpp?rev=286563&r1=286562&r2=286563&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-strings/llvm-strings.cpp (original)
+++ llvm/trunk/tools/llvm-strings/llvm-strings.cpp Thu Nov 10 22:50:18 2016
@@ -60,7 +60,7 @@ class Strings {
}
void dump(const Archive *A) {
- Error E;
+ Error E = Error::success();
for (auto &Element : A->children(E)) {
if (Expected<std::unique_ptr<Binary>> Child =
Element.getAsBinary(&Context)) {
More information about the llvm-commits
mailing list