Skip to content

Commit ad802c4

Browse files
committed
Use HelpTextForVariants
1 parent 2d57eca commit ad802c4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3410,8 +3410,10 @@ def fno_experimental_isel : Flag<["-"], "fno-experimental-isel">, Group<f_clang_
34103410
Alias<fno_global_isel>;
34113411
def fveclib : Joined<["-"], "fveclib=">, Group<f_Group>,
34123412
Visibility<[ClangOption, CC1Option, FlangOption, FC1Option]>,
3413-
HelpText<"Use the given vector functions library."
3414-
"Note: In clang -fveclib={ArmPL,SLEEF} implies -fno-math-errno">,
3413+
HelpText<"Use the given vector functions library">,
3414+
HelpTextForVariants<[ClangOption, CC1Option],
3415+
"Use the given vector functions library. "
3416+
"Note: -fveclib={ArmPL,SLEEF} implies -fno-math-errno">,
34153417
Values<"Accelerate,libmvec,MASSV,SVML,SLEEF,Darwin_libsystem_m,ArmPL,AMDLIBM,none">,
34163418
NormalizedValuesScope<"llvm::driver::VectorLibrary">,
34173419
NormalizedValues<["Accelerate", "LIBMVEC", "MASSV", "SVML", "SLEEF",

0 commit comments

Comments
 (0)