Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/AST/CanonBounds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Lexicographic::CompareDecl(const NamedDecl *D1Arg, const NamedDecl *D2Arg) const
return Result::Equal;

if (!D1 || !D2) {
assert("unexpected cast failure");
assert(false && "unexpected cast failure");
return Result::LessThan;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Sema/CheckedCInterop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class TransformFunctionTypeToChecked :
// Assert on trailing returning type for now, instead of handling them.
// That's a C++ feature that we cannot test right now.
if (T->hasTrailingReturn()) {
assert("Unexpected trailing return type for Checked C");
assert(false && "Unexpected trailing return type for Checked C");
return QualType();
}

Expand Down