[llvm] r353681 - Attempt to fix buildbot after r353679

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 11 02:12:19 PST 2019


Author: evgeny777
Date: Mon Feb 11 02:12:19 2019
New Revision: 353681

URL: http://llvm.org/viewvc/llvm-project?rev=353681&view=rev
Log:
Attempt to fix buildbot after r353679

Modified:
    llvm/trunk/include/llvm/Support/Error.h

Modified: llvm/trunk/include/llvm/Support/Error.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Error.h?rev=353681&r1=353680&r2=353681&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Error.h (original)
+++ llvm/trunk/include/llvm/Support/Error.h Mon Feb 11 02:12:19 2019
@@ -1195,7 +1195,7 @@ public:
 private:
   FileError(const Twine &F, std::unique_ptr<ErrorInfoBase> E) {
     assert(E && "Cannot create FileError from Error success value.");
-    assert(!F.empty() &&
+    assert(!F.isEmpty() &&
            "The file name provided to FileError must not be empty.");
     FileName = F.str();
     Err = std::move(E);




More information about the llvm-commits mailing list