aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bytecode/Reader/BytecodeReader.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2022-12-16 01:16:15 -0800
committerRiver Riddle <riddleriver@gmail.com>2023-01-18 19:16:30 -0800
commit5cdc2bbc7588e7b046ac5c7f79a84ef18978a83a (patch)
tree0562627395f73cf786af17b6deffbb3a96455bbe /mlir/lib/Bytecode/Reader/BytecodeReader.cpp
parent3e731af9124cc74d2276da19031e6dd275a7c33f (diff)
downloadllvm-5cdc2bbc7588e7b046ac5c7f79a84ef18978a83a.zip
llvm-5cdc2bbc7588e7b046ac5c7f79a84ef18978a83a.tar.gz
llvm-5cdc2bbc7588e7b046ac5c7f79a84ef18978a83a.tar.bz2
[mlir] Move SymbolOpInterfaces "classof" check to a proper "extraClassOf" interface field
SymbolOpInterface overrides the base classof to provide support for optionally implementing the interface. This is currently placed in the extraClassDeclarations, but that is kind of awkard given that it requires underlying knowledge of how the base classof is implemented. This commit adds a proper "extraClassOf" field to allow interfaces to implement this, which abstracts away the default classof logic. Differential Revision: https://reviews.llvm.org/D140197
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions