aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorAndrei Golubev <andrey.golubev@intel.com>2024-04-05 14:49:32 +0300
committerGitHub <noreply@github.com>2024-04-05 13:49:32 +0200
commit9b5155c93616563165c9d8da5f15aa1f1260d2d2 (patch)
tree0531b870d04590febbb43673218c859f0774c815 /llvm/lib/IR/Function.cpp
parent2c0a99f54fd5045a1b382c03fc5481b648a62a8e (diff)
downloadllvm-9b5155c93616563165c9d8da5f15aa1f1260d2d2.zip
llvm-9b5155c93616563165c9d8da5f15aa1f1260d2d2.tar.gz
llvm-9b5155c93616563165c9d8da5f15aa1f1260d2d2.tar.bz2
[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: Orest Chura <orest.chura@intel.com> Co-authored-by: Mehdi Amini <joker.eph@gmail.com>
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions