Skip to content

Commit 3a04f1c

Browse files
remove message in assert
1 parent 544dc12 commit 3a04f1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Parse/ParseExpr.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,7 @@ Parser::ParseRHSOfBinaryExpression(ExprResult LHS, prec::Level MinPrec) {
338338
// enabled, we split caretcaret into two carets: the first being the binary
339339
// operator and the second being the introducer for the block.
340340
if (OpToken.is(tok::caretcaret)) {
341-
assert(getLangOpts().Reflection &&
342-
"reflection support disabled - compile with -freflection");
341+
assert(getLangOpts().Reflection);
343342
if (getLangOpts().Blocks) {
344343
OpToken.setKind(tok::caret);
345344
Token Caret;

0 commit comments

Comments
 (0)