[cfe-dev] clang driver command line interface change

Daniel Dunbar daniel at zuster.org
Tue Jan 20 15:21:15 PST 2009


Hi all,

For those using the as-yet-unnamed clang static analyzer, I have
change the command line interface so that it requires an explicit
-analyze option. I updated the test cases but those using clang
directly will need to pass '-analyze' (just as one would pass
-fsyntax-only, -emit-llvm, etc.) to set the program action.

The motivation & goal is to have clang take "explicit" arguments
instead of inferring what to do; this is consistent with the idea that
the clang executable is a backend tool and will almost always be being
driven by some other tool.

 - Daniel



More information about the cfe-dev mailing list