]> granicus.if.org Git - clang/commit
Improved naming convention heuristics in the retain/release checker to better
authorTed Kremenek <kremenek@apple.com>
Sat, 21 Feb 2009 05:13:43 +0000 (05:13 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 21 Feb 2009 05:13:43 +0000 (05:13 +0000)
commitb80976c752ad3469c54ecd10d5ba5847fd48d7a8
treea32a022c81ffec319effd9d3f6a82eadf8e5f18c
parentd4c7684f19703d75b989364da80727d635f99b53
Improved naming convention heuristics in the retain/release checker to better
handle method names that contain 'new', 'copy', etc., but those words might be
the substring of larger words such as 'newsgroup' and 'photocopy' that do not
indicate the allocation of objects. This should address the issues discussed in
<rdar://problem/6552389>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65224 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFRefCount.cpp
test/Analysis/refcnt_naming.m