Skip to content

Commit 668c1ea

Browse files
committed
[C99] Update paper number tracked for arrays & lvalues; NFC
I finally found the original paper proposing the changes, so this updates the test name, comments, and status page but is otherwise NFC.
1 parent 9cb7dff commit 668c1ea

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

clang/test/C/C99/array-lvalue.c renamed to clang/test/C/C99/n835.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@
33
expected-no-diagnostics
44
*/
55

6-
/* WG14 ???: Yes
6+
/* WG14 N835: Yes
77
* Conversion of array to pointer not limited to lvalues
88
*
9-
* NB: the original paper number is unknown, this was gleaned from the editor's report
10-
* in the C99 foreword. The C99 rationale document did not shed much light on
11-
* the situation either, mostly talking about user confusion between lvalue and
12-
* modifiable lvalue. However, the crux of the change was C89 changing:
9+
* NB: The crux of the change was C99 changing:
1310
*
1411
* C89 3.2.2.1: Except when it is the operand of ..., an lvalue that has type
1512
* 'array of type' is converted to an expression that has type 'pointer to

clang/www/c_status.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ <h2 id="c99">C99 implementation status</h2>
359359
</tr>
360360
<tr>
361361
<td>conversion of array to pointer not limited to lvalues</td>
362-
<td>Unknown</td>
362+
<td>N835</td>
363363
<td class="full" align="center">Yes</td>
364364
</tr>
365365
<tr>

0 commit comments

Comments
 (0)