]> granicus.if.org Git - clang/commit
Revise Cocoa conventions detection: 'copy' and 'mutableCopy'
authorTed Kremenek <kremenek@apple.com>
Fri, 17 Dec 2010 04:44:43 +0000 (04:44 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 17 Dec 2010 04:44:43 +0000 (04:44 +0000)
commitaf86b0c160bc998bdde2f35d526ca819d7b3a1f2
treedfa6545201c494b4924f390b94642037dc04fa80
parent0a3ed3143b00f237decb1288c1ff574ae09eba4e
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