]> granicus.if.org Git - clang/commit
[analyzer] Add 'bool ignorePrefix' parameter to cocoa::deriveNamingConvention to...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 11 Jan 2011 19:45:16 +0000 (19:45 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 11 Jan 2011 19:45:16 +0000 (19:45 +0000)
commit5078d46af381b27be1c7e3c3e0c517e4cf7cc064
tree0896e5f2adec7426f5b14bd83e997a1d0c3e3607
parentf7fbbda62705352a53ac3b495a1128946a34ced3
[analyzer] Add 'bool ignorePrefix' parameter to cocoa::deriveNamingConvention to control whether
the prefix should be ignored.

E.g. if ignorePrefix is true, "_init" and "init" selectors will both be result in InitRule, but if
ignorePrefix is false, only "init" will return InitRule.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123262 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/DomainSpecific/CocoaConventions.h
lib/Analysis/CocoaConventions.cpp