mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-09 12:08:30 +00:00
doc: update Language Extensions in coding guidelines
- update Language Extensions in coding guidelines Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
This commit is contained in:
parent
f9945484a7
commit
3729fa9451
@ -3640,3 +3640,10 @@ b) '__builtin_va_start', refers to section 6.20 in GCC 7.3 Manual.
|
|||||||
c) '__builtin_va_end', refers to section 6.20 in GCC 7.3 Manual.
|
c) '__builtin_va_end', refers to section 6.20 in GCC 7.3 Manual.
|
||||||
d) '__builtin_offsetof', refers to section 6.51 in GCC 7.3 Manual.
|
d) '__builtin_offsetof', refers to section 6.51 in GCC 7.3 Manual.
|
||||||
|
|
||||||
|
C-LE-05: Use of extended designated initializers is allowed
|
||||||
|
===========================================================
|
||||||
|
|
||||||
|
This rule applies to the following designated initializer: writing '[first ...
|
||||||
|
last] = value' to initialize a range of elements to the same value, refers to
|
||||||
|
section 6.27 in GCC 7.3 Manual.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user