Xcode: Add compiler warning/analyzer results for dot syntax
| Originator: | pburleson | ||
| Number: | rdar://9751656 | Date Originated: | 10-Jul-2011 11:10 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 4.0.2 build 4A2002a |
| Classification: | Enhancement | Reproducible: | N/A |
This is a dupe of rdar://9735877 , just adding my vote. Summary: It would be useful, in code bases where due to coding style guidelines dot syntax is not allowed, to be able to specify a compiler flag to turn on a warning (which could then be combined with -Werror if desired), to warn upon use of dot syntax for Objective-C objects. Steps to Reproduce: 1. Build a project which uses dot syntax. Expected Results: Be able to receive warning in places where dot syntax is used. Actual Results: Dot syntax has to be removed completely by hand (without the aid of warnings or analyzer results) if it is desirable to remove it. Regression: N/A Notes: N/A
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!