Author: Craig Topper Date: 2025-08-13T08:41:13-07:00 New Revision: ef47d0bdf0de5d2d2b1d69da4e651ae2da0ef227
URL: https://github.com/llvm/llvm-project/commit/ef47d0bdf0de5d2d2b1d69da4e651ae2da0ef227 DIFF: https://github.com/llvm/llvm-project/commit/ef47d0bdf0de5d2d2b1d69da4e651ae2da0ef227.diff LOG: [Docs] Add HelpText for -mimplicit-float so it shows up in the webpage documentation. (#153253) There is no documentation for -mimplicit-float, -mno-implicit-float here https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-mimplicit-float I believe this is because the text is taken from the positive option when there is a no- version. Add HelpText to the positive option to hopefully fix this. These options also affect vector and not just FP so having text here that mentions vectors is helpful to users. 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 6aab43c9ed57f..ee4df6727e7f0 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -5589,7 +5589,8 @@ def mno_outline_atomics : Flag<["-"], "mno-outline-atomics">, Group<f_clang_Grou HelpText<"Don't generate local calls to out-of-line atomic operations">; def mno_implicit_float : Flag<["-"], "mno-implicit-float">, Group<m_Group>, HelpText<"Don't generate implicit floating point or vector instructions">; -def mimplicit_float : Flag<["-"], "mimplicit-float">, Group<m_Group>; +def mimplicit_float : Flag<["-"], "mimplicit-float">, Group<m_Group>, + HelpText<"Generate implicit floating point or vector instructions">; def mrecip : Flag<["-"], "mrecip">, Group<m_Group>, Visibility<[ClangOption, CC1Option, FlangOption, FC1Option]>, HelpText<"Equivalent to '-mrecip=all'">; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits