[all-commits] [llvm/llvm-project] 739132: [NFC][analyzer] OOB test consolidation I: no-outof...

Donát Nagy via All-commits all-commits at lists.llvm.org
Tue Feb 11 05:26:04 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73913275c414741b6c9789931fbab4470a181b00
      https://github.com/llvm/llvm-project/commit/73913275c414741b6c9789931fbab4470a181b00
  Author: Donát Nagy <donat.nagy at ericsson.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    R clang/test/Analysis/no-outofbounds.c
    M clang/test/Analysis/out-of-bounds-diagnostics.c
    M clang/test/Analysis/out-of-bounds.c

  Log Message:
  -----------
  [NFC][analyzer] OOB test consolidation I: no-outofbounds.c (#126539)

Before commit 6e17ed9b04e5523cc910bf171c3122dcc64b86db the test file
`no-outofbounds.c` tested the behavior of the old alpha checker
`alpha.security.ArrayBound` (V1); then that commit converted it into a
test for the checker `security.ArrayBound` which was previously called
`alpha.security.ArrayBoundV2`.

This commit removes this small separate test file and adds some tests to
the "native" test files of `security.ArrayBound` to ensure that the same
functionality is still tested.

This is intended as the first commit in a series that reorganizes the
tests of `security.ArrayBound` to system that's easier to understand and
maintain.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list