Skip to content

Commit a217b5f

Browse files
zyn0217cor3ntin
andauthored
Apply comment
Co-authored-by: cor3ntin <[email protected]>
1 parent 8dba2df commit a217b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Parse/ParseExpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ ExprResult Parser::ParseArrayBoundExpression() {
252252
//
253253
// sizeof(typeof(*(int (*)[N])array))
254254
//
255-
// in which the expression N is supposed to be ODR-used, as is the `array`.
255+
// N and array are supposed to be ODR-used.
256256
// Initially when encountering `array`, it is deemed unevaluated and non-ODR
257257
// used because that occurs before parsing the type cast. Therefore we use
258258
// Sema::TransformToPotentiallyEvaluated() to rebuild the expression to ensure

0 commit comments

Comments
 (0)