[llvm] r353683 - Attempt to fix buildbot after r353679 #2

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


Author: evgeny777
Date: Mon Feb 11 02:17:17 2019
New Revision: 353683

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

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=353683&r1=353682&r2=353683&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Error.h (original)
+++ llvm/trunk/include/llvm/Support/Error.h Mon Feb 11 02:17:17 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.isEmpty() &&
+    assert(!F.isTriviallyEmpty() &&
            "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