summaryrefslogtreecommitdiffstats
path: root/clang/test/Coverage/html-diagnostics.c
Commit message (Collapse)AuthorAgeFilesLines
* [Analyzer] Add support for displaying cross-file diagnostic paths in HTML outputDevin Coughlin2017-08-031-0/+7
| | | | | | | | | | | This change adds support for cross-file diagnostic paths in html output. If the diagnostic path is not cross-file, there is no change in the output. Patch by Vlad Tsyrklevich! Differential Revision: https://reviews.llvm.org/D30406 llvm-svn: 309968
* clang/test/Coverage/html-diagnostics.c: Use find(1) to avoid globbing.NAKAMURA Takumi2014-11-041-4/+1
| | | | llvm-svn: 221263
* clang/test: Introduce the feature "staticanalyzer" for ↵NAKAMURA Takumi2014-07-161-0/+2
| | | | | | --enable-clang-static-analyzer. llvm-svn: 213140
* Skip this test when using lit integrated shellAlp Toker2013-10-251-0/+3
| | | | | | | It wasn't passing on UNIX with LIT_USE_INTERNAL_SHELL=1 due to cat globbing. llvm-svn: 193443
* [analyzer] Remove '-analyzer-check-objc-mem' flag, the nominee for best ↵Argyrios Kyrtzidis2011-02-281-1/+1
| | | | | | misnomer award. llvm-svn: 126676
* [analyzer] Migrate NSErrorChecker and DereferenceChecker to CheckerV2.Argyrios Kyrtzidis2011-02-281-1/+1
| | | | | | | | They cooperate in that NSErrorChecker listens for ImplicitNullDerefEvent events that DereferenceChecker can dispatch. ImplicitNullDerefEvent is when we dereferenced a location that may be null. llvm-svn: 126659
* putback r116782, it's a safe fix and should not break windowsAndrew Trick2010-10-211-1/+4
| | | | llvm-svn: 116994
* revert r116782 & r116793 to fix msvc9 buildbotsAndrew Trick2010-10-201-5/+2
| | | | llvm-svn: 116976
* test/Coverage/html-diagnostics.c: Use find(1) to glob wildcards.NAKAMURA Takumi2010-10-191-1/+1
| | | | | | MSYS cat(1) does not expand wildcards. llvm-svn: 116793
* test/Coverage/html-diagnostics.c: Do not make hit "CHECK: Dereference of ↵NAKAMURA Takumi2010-10-191-1/+4
| | | | | | null pointer" to the output itself! llvm-svn: 116782
* Rename -cc1 option '-checker-cfref' to '-analyzer-check-objc-mem'.Ted Kremenek2010-02-051-1/+1
| | | | llvm-svn: 95348
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-2/+2
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Remove clang-cc -html-diags option, this doesn't fit in well and we get plentyDaniel Dunbar2009-11-051-1/+5
| | | | | | | | | | of coverage of this from the analyzer. If this bothers you, I can add it back in a mode where non-source diagnostics go to stderr and only source diagnostics use -html-diags, but I don't think anyone uses this. llvm-svn: 86109
* Introduce a new concept to the static analyzer: SValuator.Ted Kremenek2009-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | GRTransferFuncs had the conflated role of both constructing SVals (symbolic expressions) as well as handling checker-specific logic. Now SValuator has the role of constructing SVals from expressions and GRTransferFuncs just handles checker-specific logic. The motivation is by separating these two concepts we will be able to much more easily create richer constraint-generating logic without coupling it to the main checker transfer function logic. We now have one implementation of SValuator: SimpleSValuator. SimpleSValuator is essentially the SVal-related logic that was in GRSimpleVals (which is removed in this patch). This includes the logic for EvalBinOp, EvalCast, etc. Because SValuator has a narrower role than the old GRTransferFuncs, the interfaces are much simpler, and so is the implementation of SimpleSValuator compared to GRSimpleVals. I also did a line-by-line review of SVal-related logic in GRSimpleVals and cleaned it up while moving it over to SimpleSValuator. As a consequence of removing GRSimpleVals, there is no longer a '-checker-simple' option. The '-checker-cfref' did everything that option did but also ran the retain/release checker. Of course a user may not always wish to run the retain/release checker, nor do we wish core analysis logic buried in the checker-specific logic. The next step is to refactor the logic in CFRefCount.cpp to separate out these pieces into the core analysis engine. llvm-svn: 74229
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Add test/Driver.Daniel Dunbar2008-10-041-0/+15
- env-include-paths.c is XFAIL as it exposed a bug. Add test/Coverage. - For tests which achieve code coverage but don't validate anything. llvm-svn: 57070
OpenPOWER on IntegriCloud