[scan-build] Add an option to skip overriding CC and CXX make vars

Autoconf and some other systems tend to add essential compilation
options to CC (e.g. -std=gnu99). When running such an auto-generated
makefile, scan-build does not need to change CC and CXX as they are
already set to use ccc-analyzer by a configure script.

Implement a new option --keep-cc as was proposed in this discussion:
http://lists.llvm.org/pipermail/cfe-dev/2013-September/031832.html

Patch by Paul Fertser!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk/tools/scan-build@323665 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed
tree: fb902b0e0dc7aa7dbc97b47d0e743ad318d63484
  1. bin/
  2. libexec/
  3. man/
  4. share/
  5. CMakeLists.txt