teak-llvm/clang/test/FixIt/multiarg-selector-fixit.m
Fariborz Jahanian 5ab8750c5c Objective-C [qoi]. Patch to not do Fix-It for fixing
a messaging expression except in the simple case
of a unary selector. We cannot reliably provide such a fixit due
to numerous reasons where a matching selector could not be found.
rdar://15756038

llvm-svn: 215480
2014-08-12 22:16:41 +00:00

16 lines
299 B
Objective-C

// RUN: cp %s %t
// RUN: %clang_cc1 -x objective-c -fixit %t
// RUN: diff %t %s
// rdar://15756038
#define nil (void *)0
@interface NSObject
- (void)testDataSource:(id)object withMultipleArguments:(id)arguments;
@end
int main() {
id obj;
[obj TestDataSource:nil withMultipleArguments:nil];
}