Unverified Commit 9b5155c9 authored by Andrei Golubev's avatar Andrei Golubev Committed by GitHub
Browse files

[mlir][OpFormatGen][NFC] Change Raw{Operands,Types} arrays to objects (#85631)



Tablegen generates uninitialized arrays of size 1 for raw operands and
types. In the current state this causes static analysis warnings about
"uninitialized fixed-size arrays" as their init is separated from their
declaration. Since these are single-entry array, we can just use a plain
variable instead of an array here.

Co-authored-by: default avatarOrest Chura <orest.chura@intel.com>
Co-authored-by: default avatarMehdi Amini <joker.eph@gmail.com>
parent 2c0a99f5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment