[all-commits] [llvm/llvm-project] 564bcf: Align adaptor's generator accessors for attribute ...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Tue Jan 4 21:42:33 PST 2022
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2022-01-05 (Wed, 05 Jan 2022)
Align adaptor's generator accessors for attribute on the Op class
Each attribute has two accessor: one suffixed with `Attr` which returns the attribute itself
and one without the suffix which unwrap the attribute.
For example for a StringAttr attribute with a field named `kind`, we'll generate:
Differential Revision: https://reviews.llvm.org/D116466
More information about the All-commits