diff --git a/tools/mlir-tblgen/OpDocGen.cpp b/tools/mlir-tblgen/OpDocGen.cpp index a628c7de2172..ff442f1d57f6 100644 --- a/tools/mlir-tblgen/OpDocGen.cpp +++ b/tools/mlir-tblgen/OpDocGen.cpp @@ -95,6 +95,9 @@ static void emitOpDocForDialect(const Dialect &dialect, emitIfNotEmpty(dialect.getSummary(), os); emitIfNotEmpty(dialect.getDescription(), os); + // TODO(b/143543720) Generate TOC where extension is not supported. + os << "[TOC]\n\n"; + // TODO(antiagainst): Add link between use and def for types if (!types.empty()) os << "## Type definition\n";