DescriptionAdd the -Wobjc-missing-property-synthesis flag.
Add the -Wobjc-missing-property-synthesis compiler flag for iOS and Mac builds. Because Clang now automatically
synthesizes properties if it's not done explicitly, forgetting to add a @synthesize
directive may result in difficult-to-uncover bugs, as Clang silently synthesizes instance
variables and binds them to the wrong property (see, for example, https://chromereviews.googleplex.com/5618018/).
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167783
Patch Set 1 #Patch Set 2 : +mac #
Total comments: 2
Patch Set 3 : change flag to xcode setting #
Total comments: 2
Patch Set 4 : add to ios block #
Total comments: 1
Messages
Total messages: 14 (0 generated)
|