Hacker News new | ask | show | jobs
by saagarjha 2244 days ago
Somewhat annoyingly, the static analyzer that ships with Xcode doesn't seem to be packaged separately as in the command line tools…
2 comments

Hmm, command-line clang accepts a --analyze option here ("Apple clang version 11.0.0"), and this seems to give additional output over the regular warnings. I'm not sure if that's the same thing as the analyzer integrated into Xcode, but some sort of static analyzer seems to be there.
Oh, I will have to try that. Thanks for sharing!
Same with the profiling tools.