Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mlir][ods] Assert on static getAttrName methods
This patch makes ODS insert an assert when calling static `get*AttrName` methods with a `OperationName` that the name is the same as the op's. This prevents accidentally passing the wrong kind of name and getting an erroneous attribute name. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D135698
- Loading branch information