Skip to content

Commit 2c8b558

Browse files
committed
Formatting
1 parent 7f2b5ea commit 2c8b558

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ Bug Fixes in This Version
254254
- Fix a crash when marco name is empty in ``#pragma push_macro("")`` or
255255
``#pragma pop_macro("")``. (#GH149762).
256256
- Fix a crash in variable length array (e.g. ``int a[*]``) function parameter type
257-
being used in ``_Countof`` expression. (#GH152826)
257+
being used in ``_Countof`` expression. (#GH152826).
258258
- `-Wunreachable-code`` now diagnoses tautological or contradictory
259259
comparisons such as ``x != 0 || x != 1.0`` and ``x == 0 && x == 1.0`` on
260260
targets that treat ``_Float16``/``__fp16`` as native scalar types. Previously

clang/test/Sema/gh152826.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
// RUN: %clang_cc1 -std=c2y -verify -fexperimental-new-constant-interpreter %s
33
// expected-no-diagnostics
44

5-
void gh152826(char (*a)[*][5], int (*x)[_Countof (*a)]);
5+
void gh152826(char (*a)[*][5], int (*x)[_Countof(*a)]);
66
void more_likely_in_practice(unsigned long size_one, int (*a)[*][5], int b[_Countof(*a)]);
77
void f(int (*x)[*][1][*][2][*][*][3][*], int q[_Countof(*x)]);

0 commit comments

Comments
 (0)