Skip to content

Commit c78e314

Browse files
Update clang/lib/Parse/ParseExpr.cpp
Co-authored-by: Sirraide <[email protected]>
1 parent 348348e commit c78e314

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
@@ -2222,8 +2222,7 @@ ExprResult Parser::ParseUnaryExprOrTypeTraitExpression() {
22222222
assert(Tok.isOneOf(tok::kw_sizeof, tok::kw___datasizeof, tok::kw___alignof,
22232223
tok::kw_alignof, tok::kw__Alignof, tok::kw_vec_step,
22242224
tok::kw___builtin_omp_required_simd_align,
2225-
tok::kw___builtin_vectorelements, tok::kw__Countof,
2226-
tok::caretcaret) &&
2225+
tok::kw___builtin_vectorelements, tok::kw__Countof) &&
22272226
"Not a sizeof/alignof/vec_step expression!");
22282227
Token OpTok = Tok;
22292228
ConsumeToken();

0 commit comments

Comments
 (0)