Use newest clang static analyzers.
* When WITH_STATIC_ANALYZER is set and non-zero, and clang compiler is used, call new clang ccc-analyzer or c++-analyzer. * Otherwise, if WITH_SYNTAX_CHECK is set and non-zero, call compiler with -fsyntax-only. * Replace "--sysroot=path" with "--sysroot path", to work with ccc-analyzer. * ccc-analyzer executes the original compilation command to generate object files before calling clang with --analyze to do static analysis. * When clang is called with --analyze, macro __clang_analyzer__ is defined. BUG: 13287788 Change-Id: I5edb25b52998d871385dd000778db2ce83224078
Loading
Please register or sign in to comment