Author: Fangrui Song
Date: 2022-06-24T22:20:37-07:00
New Revision: 262b4091f9724994f4675fa0bab14b4988f10308

URL: 
https://github.com/llvm/llvm-project/commit/262b4091f9724994f4675fa0bab14b4988f10308
DIFF: 
https://github.com/llvm/llvm-project/commit/262b4091f9724994f4675fa0bab14b4988f10308.diff

LOG: [Driver] Fix -fstrict-flex-arrays= help message after D126864

Added: 
    

Modified: 
    clang/include/clang/Driver/Options.td

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Driver/Options.td 
b/clang/include/clang/Driver/Options.td
index 81d1d53cea9b..5d5f886ea753 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -1141,7 +1141,7 @@ def fapple_kext : Flag<["-"], "fapple-kext">, 
Group<f_Group>, Flags<[CC1Option]>
   HelpText<"Use Apple's kernel extensions ABI">,
   MarshallingInfoFlag<LangOpts<"AppleKext">>;
 def fstrict_flex_arrays_EQ : Joined<["-"], 
"fstrict-flex-arrays=">,Group<f_Group>,
-  MetaVarName<"<n">, Values<"1,2,3">,
+  MetaVarName<"<n>">, Values<"0,1,2,3">,
   LangOpts<"StrictFlexArrays">,
   Flags<[CC1Option]>,
   HelpText<"Enable optimizations based on the strict definition of flexible 
arrays">,


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to