vsapsai wrote:
I don't know if we have a test for it but I've realized there are cases where
you can have a legitimate double colon in Objective-C. For example,
```objective-c
@interface NSObject
@end
@implementation NSObject
- (void)performSelector:(SEL)selector {}
- (void)double:(int)firstArg :(int)secondArg colon:(int)thirdArg {}
- (void)test {
[self performSelector:@selector(double::colon:)];
}
@end
```
It's not a method parameter type, so it is possible your code isn't executed.
But it is worth checking if we test this case.
https://github.com/llvm/llvm-project/pull/119908
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits