Clang-KeyPathValidator icon indicating copy to clipboard operation
Clang-KeyPathValidator copied to clipboard

Investigate possibilities of an analyzer plugin

Open jmah opened this issue 11 years ago • 0 comments

The analyzer can perform more detailed analysis, possibly checking some forms of non-literal key paths.

Can we validate this?

NSString *s = @"key";
[self valueForKey:s];

Can we validate this?

NSString *path = [@"keyOne" stringByAppendingString:@".keyTwo];
[self valueForKeyPath:path];

jmah avatar May 18 '14 00:05 jmah