Don't flag idempotent '+' or '-' warnings for pointer arithmetic (typically false...
commite91c8b0b383312770183e3c731eaa8cc36bab993
authorTed Kremenek <kremenek@apple.com>
Fri, 29 Oct 2010 01:06:54 +0000 (29 01:06 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 29 Oct 2010 01:06:54 +0000 (29 01:06 +0000)
treee64ceeac7ffce875c0406c1cc90624df76c07c42
parentf39ce65235aa04a665bad43350027d84233b5693
Don't flag idempotent '+' or '-' warnings for pointer arithmetic (typically false positives).

Fixes <rdar://problem/8601243>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117635 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Checker/IdempotentOperationChecker.cpp
test/Analysis/idempotent-operations.c