From: Eugene Leviant Date: Mon, 11 Feb 2019 10:12:19 +0000 (+0000) Subject: Attempt to fix buildbot after r353679 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5e90e6d5abcf69358109d0709f41100f5c3f765;p=llvm Attempt to fix buildbot after r353679 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353681 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/Error.h b/include/llvm/Support/Error.h index a9f131f1ef6..a7cf2d56a14 100644 --- a/include/llvm/Support/Error.h +++ b/include/llvm/Support/Error.h @@ -1195,7 +1195,7 @@ public: private: FileError(const Twine &F, std::unique_ptr 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);