Comment
Comment by 0x09
Though scan-build is usually the simpler option, clang itself does have an --analyze flag which writes analysis results in various formats, including the same html reports that scan-build would generate. But to see this on standard out
Will print the entire analysis tree in the same format as regular diagnostics.