[mlir][ODS] Suppress generated ArrayRef Coverity warning (#220601)

Declarative parsers represent fixed-length operands and types as
ArrayRefs to scalar storage. Coverity loses the explicit length at
resolveOperands calls and reports ARRAY_VS_SINGLETON for the generated
code.

Emit the checker-specific suppression at those generated call sites and
test that it remains in the generated parser.

Found by Coverity.

Assisted-by: Codex
GitOrigin-RevId: 136f049c0f822db05bad4c946dadf3dc112ccd4c
2 files changed
tree: d4b15bd2087446136bb9bdcda8b914b3e128700a
  1. benchmark/
  2. cmake/
  3. docs/
  4. examples/
  5. include/
  6. lib/
  7. python/
  8. test/
  9. tools/
  10. unittests/
  11. utils/
  12. .clang-format
  13. .clang-tidy
  14. CMakeLists.txt
  15. LICENSE.TXT
  16. Maintainers.md
  17. README.md
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.