We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e12131e commit dac2f6aCopy full SHA for dac2f6a
1 file changed
src/main.cc
@@ -64,13 +64,7 @@ int main(int argc, char **argv) {
64
<< "\n";
65
});
66
67
- for (auto &i : TopLevelSubCommand->OptionsMap)
68
-#if LLVM_VERSION_MAJOR >= 9 // rL360179
69
- if (i.second->Categories[0] != &C)
70
-#else
71
- if (i.second->Category != &C)
72
-#endif
73
- i.second->setHiddenFlag(ReallyHidden);
+ cl::HideUnrelatedOptions(C);
74
75
ParseCommandLineOptions(argc, argv,
76
"C/C++/Objective-C language server\n\n"
0 commit comments