[clang] [clang] Document -fstrict-flex-arrays option (PR #138388)

via cfe-commits cfe-commits at lists.llvm.org
Sat May 3 10:06:30 PDT 2025


================
@@ -1554,7 +1554,10 @@ def fstrict_flex_arrays_EQ : Joined<["-"], "fstrict-flex-arrays=">, Group<f_Grou
   Visibility<[ClangOption, CC1Option]>,
   NormalizedValuesScope<"LangOptions::StrictFlexArraysLevelKind">,
   NormalizedValues<["Default", "OneZeroOrIncomplete", "ZeroOrIncomplete", "IncompleteOnly"]>,
-  HelpText<"Enable optimizations based on the strict definition of flexible arrays">,
+  HelpText<"Enable optimizations based on the strict definition of flexible arrays. "
----------------
serge-sans-paille wrote:

Done. I wasn't aware of DocBreef, that's indeed much better like this.

https://github.com/llvm/llvm-project/pull/138388


More information about the cfe-commits mailing list