[mlir][ods] Skip adding TOC in doc gen when present
authorJacques Pienaar <jpienaar@google.com>
Fri, 20 Aug 2021 14:01:54 +0000 (07:01 -0700)
committerJacques Pienaar <jpienaar@google.com>
Fri, 20 Aug 2021 14:01:54 +0000 (07:01 -0700)
commita232a48dca77b12427c289b2cbf70c35925614dc
tree7289c67e721593a96e67d3ded80f04e18672f3a6
parent417a49e78e730c964c60840110455c29fb562ee0
[mlir][ods] Skip adding TOC in doc gen when present

Enables adding a TOC in the description to be able to interleave
documentation before and after the TOC.
mlir/test/mlir-tblgen/gen-dialect-doc.td [new file with mode: 0644]
mlir/tools/mlir-tblgen/OpDocGen.cpp