Fix example in OpInterfaces documentation
authorAlex Zinenko <zinenko@google.com>
Wed, 2 Oct 2019 16:15:53 +0000 (09:15 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 2 Oct 2019 16:16:27 +0000 (09:16 -0700)
commit088f4c502f9fcba5f39d255ff6cdcf2ab050b201
treea30cedccd55c699096aeaf897ae3f7132d0b249a
parent98594d4dd5fba018c72875e701ad59badd112a29
Fix example in OpInterfaces documentation

The concept-based polymorphism structure was missing an inheritance link
between the concept and the model. The interface class did not re-export the
base class constructor, which made it unusable with llvm::isa calls. Fix these
and reformat the code around.

PiperOrigin-RevId: 272452062
mlir/g3doc/Interfaces.md