From f9937e7a4e18e463d792f7791342baf25b41b04f Mon Sep 17 00:00:00 2001 From: Eugene Leviant Date: Mon, 11 Feb 2019 10:17:17 +0000 Subject: [PATCH] Attempt to fix buildbot after r353679 #2 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353683 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/Error.h b/include/llvm/Support/Error.h index a7cf2d56a14..23a48ed03e4 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.isEmpty() && + assert(!F.isTriviallyEmpty() && "The file name provided to FileError must not be empty."); FileName = F.str(); Err = std::move(E); -- 2.11.0