diff options
author | David Spickett <david.spickett@linaro.org> | 2024-04-05 08:16:38 +0000 |
---|---|---|
committer | David Spickett <david.spickett@linaro.org> | 2024-04-05 08:27:59 +0000 |
commit | aff197ff2163a4b7732d08b833906cc21f4a5c89 (patch) | |
tree | ab7de766b467ca6b1d38a4976ca7776072351b33 /lld/MinGW | |
parent | 67d20412b448533c77f54ac7a1e5d0775d273729 (diff) | |
download | llvm-aff197ff2163a4b7732d08b833906cc21f4a5c89.zip llvm-aff197ff2163a4b7732d08b833906cc21f4a5c89.tar.gz llvm-aff197ff2163a4b7732d08b833906cc21f4a5c89.tar.bz2 |
Reland "[flang][clang] Add Visibility specific help text for options (#81869)"
This reverts commit 67d20412b448533c77f54ac7a1e5d0775d273729.
This includes fixes for clanginstallapi.
Diffstat (limited to 'lld/MinGW')
-rw-r--r-- | lld/MinGW/Driver.cpp | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/lld/MinGW/Driver.cpp b/lld/MinGW/Driver.cpp index bb08c77..0d55d5b 100644 --- a/lld/MinGW/Driver.cpp +++ b/lld/MinGW/Driver.cpp @@ -69,11 +69,21 @@ enum { // Create table mapping all options defined in Options.td static constexpr opt::OptTable::Info infoTable[] = { #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, \ - VISIBILITY, PARAM, HELPTEXT, METAVAR, VALUES) \ - {PREFIX, NAME, HELPTEXT, \ - METAVAR, OPT_##ID, opt::Option::KIND##Class, \ - PARAM, FLAGS, VISIBILITY, \ - OPT_##GROUP, OPT_##ALIAS, ALIASARGS, \ + VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, \ + VALUES) \ + {PREFIX, \ + NAME, \ + HELPTEXT, \ + HELPTEXTSFORVARIANTS, \ + METAVAR, \ + OPT_##ID, \ + opt::Option::KIND##Class, \ + PARAM, \ + FLAGS, \ + VISIBILITY, \ + OPT_##GROUP, \ + OPT_##ALIAS, \ + ALIASARGS, \ VALUES}, #include "Options.inc" #undef OPTION |