summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit-multiple-selector-warnings.m
Commit message (Collapse)AuthorAgeFilesLines
* Objective-C. When we use @selector(save:), etc. there may be more Fariborz Jahanian2014-06-241-0/+26
than one method with mismatched type of same selector name. clang issues a warning to point this out since it may cause undefined behavior. There are cases though that some APIs don't care about user methods and such warnings are perceived as noise. This patch allows users to add paren delimiters around selector name to turn off such warnings. So, @selector((save:)) will turn off the warning. It also provides 'fixit' so user knows what to do. // rdar://16458579 llvm-svn: 211611
OpenPOWER on IntegriCloud