Revise Cocoa conventions detection: 'copy' and 'mutableCopy'
commitb49c6c41f3e992cdd4643375db751547f8709e2f
authorTed Kremenek <kremenek@apple.com>
Fri, 17 Dec 2010 04:44:43 +0000 (17 04:44 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 17 Dec 2010 04:44:43 +0000 (17 04:44 +0000)
treedfa6545201c494b4924f390b94642037dc04fa80
parent45f585aed226910fce64c8a59a9140b5d7e9f9a5
Revise Cocoa conventions detection: 'copy' and 'mutableCopy'
only indicates the create rule if it starts
at the beginning of the method name, not
within the method name.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122036 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Checker/CocoaConventions.cpp
test/Analysis/refcnt_naming.m
test/Analysis/retain-release.m