================
@@ -454,7 +434,7 @@ static void emitOptionParser(const RecordKeeper &Records,
raw_ostream &OS) {
OS << "\n};\n\n";
// Dump the option table in OptTable::Info field order.
- OS << "static constexpr llvm::opt::OptTable::Info OptionInfoTable[] = {\n";
+ OS << "constexpr llvm::opt::OptTable::Info OptionInfoTable[] = {\n";
----------------
MaskRay wrote:
Done. The tables are now static constexpr locals of optionTables().
https://github.com/llvm/llvm-project/pull/224805
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits