Skip to content

Commit 8d27c1e

Browse files
authored
Merge pull request #3632 from shiqingg/doc-lang-ext
doc: update Language Extensions in coding guidelines
2 parents 19e9c4c + 3729fa9 commit 8d27c1e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/developer-guides/c_coding_guidelines.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3640,3 +3640,10 @@ b) '__builtin_va_start', refers to section 6.20 in GCC 7.3 Manual.
36403640
c) '__builtin_va_end', refers to section 6.20 in GCC 7.3 Manual.
36413641
d) '__builtin_offsetof', refers to section 6.51 in GCC 7.3 Manual.
36423642

3643+
C-LE-05: Use of extended designated initializers is allowed
3644+
===========================================================
3645+
3646+
This rule applies to the following designated initializer: writing '[first ...
3647+
last] = value' to initialize a range of elements to the same value, refers to
3648+
section 6.27 in GCC 7.3 Manual.
3649+

0 commit comments

Comments
 (0)