]> granicus.if.org Git - clang/commit
Don't flag idempotent '+' or '-' warnings for pointer arithmetic (typically false...
authorTed Kremenek <kremenek@apple.com>
Fri, 29 Oct 2010 01:06:54 +0000 (01:06 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 29 Oct 2010 01:06:54 +0000 (01:06 +0000)
commit74faec22ec84c54bcbd82cb6c48b72cb466b945f
treee64ceeac7ffce875c0406c1cc90624df76c07c42
parent1dfb26af4d6aa4f7818e256659a79f1ec2cba784
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