Skip to content

Commit ef47d0b

Browse files
authored
[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.
1 parent 7e7c9d9 commit ef47d0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5589,7 +5589,8 @@ def mno_outline_atomics : Flag<["-"], "mno-outline-atomics">, Group<f_clang_Grou
55895589
HelpText<"Don't generate local calls to out-of-line atomic operations">;
55905590
def mno_implicit_float : Flag<["-"], "mno-implicit-float">, Group<m_Group>,
55915591
HelpText<"Don't generate implicit floating point or vector instructions">;
5592-
def mimplicit_float : Flag<["-"], "mimplicit-float">, Group<m_Group>;
5592+
def mimplicit_float : Flag<["-"], "mimplicit-float">, Group<m_Group>,
5593+
HelpText<"Generate implicit floating point or vector instructions">;
55935594
def mrecip : Flag<["-"], "mrecip">, Group<m_Group>,
55945595
Visibility<[ClangOption, CC1Option, FlangOption, FC1Option]>,
55955596
HelpText<"Equivalent to '-mrecip=all'">;

0 commit comments

Comments
 (0)