commit | 2ab012a6de2b2769ec7ad99c4b61788cc5175d17 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Fri Sep 07 07:13:08 2012 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Fri Sep 07 07:13:08 2012 +0000 |
tree | 3ea8c9042d026285dd87a5a72221f2dd7d374a9d | |
parent | 62bde3e0a0699a72f9dbd1045dc4a3c554a46dd3 [diff] |
Fix off-by-one bug in diagnostic prose of ObjCContainersASTChecker. While the check itself should count 0-based for the parameter index, the diagnostic should be 1-based (first, second, third, not start at 0). Fixes <rdar://problem/12249569>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163375 91177308-0d34-0410-b5e6-96231b3b80d8