2 Commits

Author SHA1 Message Date
Balázs Kéri
e607360fcd
[clang][analyzer] Remove array bounds check from PointerSubChecker (#102580)
At pointer subtraction only pointers are allowed that point into an
array (or one after the end), this fact was checker by the checker. This
check is now removed because it is a special case of array indexing
error that is handled by different checkers (like ArrayBoundsV2).
2024-08-12 11:22:30 +02:00
Balázs Kéri
c43d5f540f
[clang][analyzer] Add notes to PointerSubChecker (#95899)
Notes are added to indicate the array declarations of the arrays in a
found invalid pointer subtraction.
2024-06-24 09:03:40 +02:00