commit | 077b6999847b18589cf7303378397e92433b0639 | [log] [tgz] |
---|---|---|
author | River Riddle <riddleriver@gmail.com> | Thu Nov 18 05:23:32 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 17 21:46:06 2021 -0800 |
tree | e5208217af573662dba67a6f65ed14ca9014352f | |
parent | 8e1e7be96a1f12889bbf16561a544725fb78f7bd [diff] |
[mlir] Convert NamedAttribute to be a class NamedAttribute is currently represented as an std::pair, but this creates an extremely clunky .first/.second API. This commit converts it to a class, with better accessors (getName/getValue) and also opens the door for more convenient API in the future. Differential Revision: https://reviews.llvm.org/D113956 GitOrigin-RevId: 0c7890c844fdc7adb6d0cf58403e3fdd7407915d
See https://mlir.llvm.org/ for more information.