aboutsummaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
2008-06-04ccc-analyzer now properly eats the -install_name, -exported_symbols_list, ↵Ted Kremenek
-current_version, -compatibility_version, and -sectorder command line arguments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51965 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-02Use the correct 'ccc-analyzer' when the build command is a direct invocation ↵Ted Kremenek
of gcc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51883 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-02Use "file_language" for per-language -x options.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51871 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-27When the build command is xcodebuild, set the magical environment variable ↵Ted Kremenek
LDPLUSPLUS to g++ to ensure that C++ object files are linked with g++ instead of gcc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51621 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-27Correctly check to see if we are analyzing C++ files (skip).Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51620 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-24Fix variable misspelling.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51548 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-24Don't use inferlanguage to override the default language for all files.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51547 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-24Don't analyze .o files.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51546 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-24Cleanup indentation and remove some dead code.Ted Kremenek
Analyze files not compiled using "-c". This fixes: <rdar://problem/5961638> invoke checker when gcc is not called with "-c" git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51545 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-23Disable the use of PCH files when using xcodebuild.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51509 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-23When known, include the analyzer build in the output of scan-build.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51492 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-14Don't specify a -o option to clang when not using "-checker-cfref".Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51124 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-14Fix variable misspelling.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51122 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-14Don't run clang on .s files.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51121 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-14Added "-a" option to scan-build to select the analysis (ASTConsumer) used by ↵Ted Kremenek
clang. The default is -checker-cfref. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51116 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-14Zero-pad the month and day fields in the output HTML directory.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51109 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-13Output #LINE for computing line counts.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51079 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-13Use "-i" option with make when ignoring errors.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51070 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-13Re-enable the analyzer.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51055 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-12Place "-x" option before other analyzer options.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51014 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-12Directly invoke gcc immediately instead of before we process the command ↵Ted Kremenek
line arguments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51012 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-12Added internal command logging.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51003 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-06Fix a few glitches in scan-build with automatically generating class names ↵Ted Kremenek
from bug types. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50784 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-06Experiment with not converting bug names to lower case.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50753 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-02Remove debugging statement.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50598 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-02Output better paths to display in bug reports and compute a commonTed Kremenek
prefix for all files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50592 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-01Add missing "-" that prefix arguments to forward to clang.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50540 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-30scan-build: Disable distributed builds for xcodebuildTed Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50506 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-29Pass fobjc-gc-only and fobjc-gc options down to clang.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50426 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-25Pass down more -iXXX options that clang supportsTed Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50304 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-22Don't double-increment counter for -arch and -isysrootNate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50082 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-21Remove unused "verbose" argument to compile(). Also unbreaks ccc-analyzer.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50066 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-21Pass "-arch" down to clang.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50056 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-19Pass "-isysroot" option down to clang.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49956 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-19Fix spelling/grammar in comment.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49955 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-19Use Digest::MD5 (a Perl module that should come bundled standard with Perl) ↵Ted Kremenek
to compute file digests instead of using the external program "sha1sum" (which may not be present). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49954 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-18Use 'clang' binary in the same dir as scan-build; if it isn't there use the ↵Ted Kremenek
one in the path git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49933 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-18Turn on CF reference count checker.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49931 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-18Spelling fix.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49908 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-18scan-build now fixes permissions of report files and directories, which mayTed Kremenek
be created as "temporary files" that are not world readable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49904 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-18Compute a digest of each report file, and nuke reports that have the sameTed Kremenek
digest as a file already added to the index. This a workaround for the analyzer analyzing the same file more than once, which can happen when building multiple targets. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49903 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-15Added "summary table" to generated index.html page that allows one toTed Kremenek
toggle which bug reports are displayed in the report table. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49738 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-10Used --checker-simple.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49501 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-10When not emitting path diagnostics in BugReporter::EmitWarning(), use theTed Kremenek
BugReport-specific SourceRanges (when available). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49486 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-08Set the location of ccc-analyzer to be the same directory as where scan-buildTed Kremenek
is located. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49397 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-07Left-justify text in report table.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49358 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-07Fix analyzer breakage introduced by r49213: ↵Ted Kremenek
http://llvm.org/viewvc/llvm-project?rev=49213&view=rev The problem is that some clients of gcc lookout at the stdout output of gcc; this requires that all the analyzer diagnostics go to stderr to avoid polluting stdout. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49355 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-04- ccc: print generated command line to stdout instead of stderrSeo Sanghyeon
- ccc: quote shell metacharacters in command line to ease copy-and-paste git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49213 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-03Remove bogus check to prune out analyzing files.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49191 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-03More reliably remove '\n' from queries of the location of ccc-analyzerTed Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49189 91177308-0d34-0410-b5e6-96231b3b80d8