We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0b8261 commit 74197baCopy full SHA for 74197ba
llvm/tools/llc/llc.cpp
@@ -218,13 +218,12 @@ static cl::opt<std::string> PassPipeline(
218
static cl::alias PassPipeline2("p", cl::aliasopt(PassPipeline),
219
cl::desc("Alias for -passes"));
220
221
-namespace {
222
-
223
-std::vector<std::string> &getRunPassNames() {
+static std::vector<std::string> &getRunPassNames() {
224
static std::vector<std::string> RunPassNames;
225
return RunPassNames;
226
}
227
+namespace {
228
struct RunPassOption {
229
void operator=(const std::string &Val) const {
230
if (Val.empty())
0 commit comments