Skip to content

Commit

Permalink
Scripts to run the clang analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
klange committed Oct 10, 2012
1 parent 66a35ba commit c8b3a48
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
@@ -1,6 +1,10 @@
# ToAruOS Primary Build Script
# This script will pull either clang (with -fcolor-diagnostics), gcc (with no extra options), or cc
#
ifeq ($(CCC_ANALYZE),yes)
else
CC = `util/compiler`
endif
# Sometimes we just have to use GCC
GCC = gcc
# CFLAGS for core components
Expand Down
4 changes: 4 additions & 0 deletions analyze
@@ -0,0 +1,4 @@
#!/bin/bash

make clean
CCC_ANALYZE=yes scan-build make
File renamed without changes.

0 comments on commit c8b3a48

Please sign in to comment.