Граф коммитов

72 Коммитов

Автор SHA1 Сообщение Дата
Ted Kremenek 73cb10307b Re-enable the analyzer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51055 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-13 17:10:28 +00:00
Ted Kremenek 7edbce2e55 Place "-x" option before other analyzer options.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51014 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-12 23:56:50 +00:00
Ted Kremenek 3319600871 Directly invoke gcc immediately instead of before we process the command line arguments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51012 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-12 23:47:41 +00:00
Ted Kremenek a9525c929b Added internal command logging.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51003 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-12 22:07:14 +00:00
Ted Kremenek 73c083c27c Add missing "-" that prefix arguments to forward to clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50540 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-01 21:26:22 +00:00
Ted Kremenek 688e659cb5 Pass fobjc-gc-only and fobjc-gc options down to clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50426 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-29 16:24:23 +00:00
Ted Kremenek dc34300db9 Pass down more -iXXX options that clang supports
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50304 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-25 21:28:20 +00:00
Nate Begeman 4cd3603978 Don't double-increment counter for -arch and -isysroot
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50082 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-22 04:47:32 +00:00
Ted Kremenek fe87354769 Remove unused "verbose" argument to compile(). Also unbreaks ccc-analyzer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50066 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-21 21:58:05 +00:00
Ted Kremenek d0eef024e9 Pass "-arch" down to clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50056 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-21 20:28:01 +00:00
Ted Kremenek 39a79734e7 Pass "-isysroot" option down to clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49956 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-19 18:42:26 +00:00
Ted Kremenek f22eacb11b Use 'clang' binary in the same dir as scan-build; if it isn't there use the one in the path
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49933 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-18 22:00:56 +00:00
Ted Kremenek af79c1156a Turn on CF reference count checker.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49931 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-18 21:53:01 +00:00
Ted Kremenek 7d311abfc2 Used --checker-simple.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49501 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-10 22:17:23 +00:00
Ted Kremenek 4bb6ac2bb6 When not emitting path diagnostics in BugReporter::EmitWarning(), use the
BugReport-specific SourceRanges (when available).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49486 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-10 16:12:38 +00:00
Ted Kremenek 6e9d38e2b8 Fix analyzer breakage introduced by r49213: 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-07 23:27:54 +00:00
Seo Sanghyeon d389465f42 - ccc: print generated command line to stdout instead of stderr
- 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-04 11:02:21 +00:00
Ted Kremenek 8cb53fb1e9 Remove bogus check to prune out analyzing files.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49191 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-03 21:29:11 +00:00
Ted Kremenek 9c600ff132 Don't run the analyzer on files whose language is "unknown"
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49152 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-03 07:14:59 +00:00
Ted Kremenek 69b6442f3c Do not abort ccc-analyzer script if an HTML directory is not specified.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48997 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-31 21:20:32 +00:00
Ted Kremenek 09c2ad63c3 The ccc-analyzer script now interrogates environment variables to determine
where to dump HTML reports.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48987 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-31 18:25:05 +00:00
Ted Kremenek b0982880c0 Added hacked version of ccc script used to invoke the static analyzer. This
will gradually get pruned down, as it doesn't need to be as functional as
'ccc'.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48806 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-25 22:35:32 +00:00