Currently forward decls are included with all the op classes. But there are cases (say when splitting up headers) where one wants the forward decls but not all the classes. Add an option to enable this. This does not change any current behavior (some further refactoring is probably due here).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Something that came up internally was to try to move away from the pattern where we define a macro and includes the same file and instead emit multiple files in the first place, would we have one for fwd decl and one for the class decl?
Comment Actions
Yes. I mean we'd then effectively have 4 here then 1) fwd decl, 2) class decl, 3) class defn, 4) op list.