Commit 96dbe78
committed
[mlir] Use a new constructor of ArrayRef (NFC)
ArrayRef now has a new constructor that takes a parameter whose type
has data() and size(). This patch migrates:
ArrayRef<T>(X.data(), X.size()
to:
ArrayRef<T>(X)1 parent 96ec1c2 commit 96dbe78
File tree
2 files changed
+3
-5
lines changed- mlir/lib
- AsmParser
- Target/LLVMIR
2 files changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
| 720 | + | |
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
| 730 | + | |
| 731 | + | |
734 | 732 | | |
735 | 733 | | |
736 | 734 | | |
| |||
0 commit comments