From 5f87a892a7bed9cb0599573b9aaf387bc1df9c14 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Fri, 4 Nov 2022 15:37:18 +0100 Subject: [PATCH] [clang] Fix assert in SemaEXpr.cpp --- clang/lib/Sema/SemaExpr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 51bd000..40f6af8 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -5943,7 +5943,7 @@ struct ImmediateCallVisitor : public RecursiveASTVisitor { bool VisitBlockDecl(BlockDecl *B) { return false; } bool VisitCompoundStmt(CompoundStmt *B) { - assert("Unexpected Compound statement in default parameter or initializer"); + assert(false && "Unexpected Compound statement in default parameter or initializer"); return false; } -- 2.7.4