[cfe-dev] clang --analyze limitations

Jack Howarth howarth at bromo.med.uc.edu
Thu Jun 23 10:57:41 PDT 2011


   Is there a particular reason why the clang --analyze feature was designed
to short-circuit compilations? Currently it appears that 'clang --analyze' only
calls the static analyzer which seems unnecessarily limiting. If clang were to
call the static analyzer and then proceed with the normal compilation, this
feature would be much easier to use since simply adding --analyze to the compile
flags would allow a complete build to be quickly run through the static analyzer
as part of the normal build.
       Jack



More information about the cfe-dev mailing list