[all-commits] [llvm/llvm-project] 71389e: [NFC][analyzer] OOB test consolidation III: 'outof...

Donát Nagy via All-commits all-commits at lists.llvm.org
Fri Feb 28 06:27:19 PST 2025


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

  Changed paths:
    M clang/test/Analysis/out-of-bounds.c
    R clang/test/Analysis/outofbound-notwork.c
    R clang/test/Analysis/outofbound.c

  Log Message:
  -----------
  [NFC][analyzer] OOB test consolidation III: 'outofbound' tests (#128508)

Before commit 6e17ed9 the test files `outofbound.c` and
`outofbound-notwork.c` tested the behavior of the old alpha checker
`alpha.security.ArrayBound` (V1); then that commit converted them into
tests for the checker `security.ArrayBound` which was previously called
`alpha.security.ArrayBoundV2`.

This commit removes these test files and migrates their useful content
to `out-of-bounds.c`. The file `outofbound.c` contained lots of
testcases that covered features which are also covered in
`out-of-bounds.c` or `out-of-bounds-diagnostics.c`; those redundant
cases are discarded during this migration process.

This is part of a commit series that reorganizes the tests of
`security.ArrayBound` to a 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