From 3729fa94511eeecfc3e5a2fdb6b9e38f8d9da199 Mon Sep 17 00:00:00 2001 From: Shiqing Gao Date: Mon, 2 Sep 2019 13:36:37 +0800 Subject: [PATCH] doc: update Language Extensions in coding guidelines - update Language Extensions in coding guidelines Signed-off-by: Shiqing Gao --- doc/developer-guides/c_coding_guidelines.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/developer-guides/c_coding_guidelines.rst b/doc/developer-guides/c_coding_guidelines.rst index 8de11788a..77daf8719 100644 --- a/doc/developer-guides/c_coding_guidelines.rst +++ b/doc/developer-guides/c_coding_guidelines.rst @@ -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. 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. +