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. llvm-svn: 122036
Showing
- clang/lib/Checker/CocoaConventions.cpp 30 additions, 54 deletionsclang/lib/Checker/CocoaConventions.cpp
- clang/test/Analysis/refcnt_naming.m 6 additions, 2 deletionsclang/test/Analysis/refcnt_naming.m
- clang/test/Analysis/retain-release.m 4 additions, 4 deletionsclang/test/Analysis/retain-release.m
Loading
Please register or sign in to comment