Lines Matching refs:DriverID
337 using DriverID = clang::driver::options::ID; in rulesFor() typedef
342 DriverID PrevAlias[DriverID::LastOption] = {DriverID::OPT_INVALID}; in rulesFor()
343 DriverID NextAlias[DriverID::LastOption] = {DriverID::OPT_INVALID}; in rulesFor()
344 auto AddAlias = [&](DriverID Self, DriverID T) { in rulesFor()
353 const char *const *Prefixes[DriverID::LastOption] = {nullptr}; in rulesFor()
357 if (DriverID::OPT_##ALIAS != DriverID::OPT_INVALID && ALIASARGS == nullptr) \ in rulesFor()
358 AddAlias(DriverID::OPT_##ID, DriverID::OPT_##ALIAS); \ in rulesFor()
359 Prefixes[DriverID::OPT_##ID] = PREFIX; in rulesFor()
367 for (unsigned ID = 1 /*Skip INVALID */; ID < DriverID::LastOption; ++ID) { in rulesFor()
368 if (PrevAlias[ID] || ID == DriverID::OPT_Xclang) in rulesFor()
372 for (unsigned A = ID; A != DriverID::OPT_INVALID; A = NextAlias[A]) { in rulesFor()