[PATCH] D74143: [MLIR] Adding attribute setters generation for table gen
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 24 12:39:03 PST 2020
mehdi_amini added a comment.
I wonder if emitting the accessors in a separate class and inheriting from it wouldn't be already a nicer intermediate mode: we'd hit a compile time failure only if/when the overloaded conflicting method is accessed, and it can be addressed at call site by making the access to the desired base class explicit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74143/new/
https://reviews.llvm.org/D74143
More information about the llvm-commits
mailing list