Skip to content

Commit 6bcf635

Browse files
committed
Attempt to fix buildbot after r353679 #2
llvm-svn: 353683
1 parent e848d42 commit 6bcf635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Support/Error.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ class FileError final : public ErrorInfo<FileError> {
11951195
private:
11961196
FileError(const Twine &F, std::unique_ptr<ErrorInfoBase> E) {
11971197
assert(E && "Cannot create FileError from Error success value.");
1198-
assert(!F.isEmpty() &&
1198+
assert(!F.isTriviallyEmpty() &&
11991199
"The file name provided to FileError must not be empty.");
12001200
FileName = F.str();
12011201
Err = std::move(E);

0 commit comments

Comments
 (0)