summaryrefslogtreecommitdiffstats
path: root/clang/test/Coverage
Commit message (Collapse)AuthorAgeFilesLines
...
* "this patch properly addresses escaping < and > which might appearChris Lattner2010-05-121-1/+1
| | | | | | | | | | | (e.g. for C++ operators) in the xml dump. I also re-enabled the unit test for ast-print-xml (or so I think) at least, make test didn't fail..." patch by Sebastien Binet! llvm-svn: 103671
* Rename -dump-record-layouts to -fdump-record-layouts now that the option ↵Anders Carlsson2010-04-101-1/+1
| | | | | | behaves like aa flag. llvm-svn: 100943
* Revert changes r97693, r97700, and r97718.John McCall2010-03-041-2/+0
| | | | | | Our testing framework can't deal with disabled targets yet. llvm-svn: 97719
* XFAIL these tests on win32, since the win32 buildbot apparently disables allJohn McCall2010-03-041-0/+2
| | | | | | targets except X86. llvm-svn: 97718
* Rename -cc1 option '-checker-cfref' to '-analyzer-check-objc-mem'.Ted Kremenek2010-02-051-1/+1
| | | | llvm-svn: 95348
* Revert r92431, this code isn't dead and broke the ntfs build.Daniel Dunbar2010-01-041-0/+9
| | | | llvm-svn: 92493
* Better coverage for -dump-record-layouts and -print-decl-contexts.Eli Friedman2010-01-032-0/+3
| | | | llvm-svn: 92441
* Update tests to use %clang instead of 'clang', and forcibly disable use of 'Daniel Dunbar2009-12-151-1/+1
| | | | | | | clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-1512-44/+44
| | | | | | | | | - 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
* Make tests use the new clang -cc1 flag.Fariborz Jahanian2009-12-144-8/+8
| | | | llvm-svn: 91303
* Normalize options to use '-FOO' instead of '--FOO'.Daniel Dunbar2009-11-295-15/+15
| | | | llvm-svn: 90071
* Move -fnext-runtime defaulting to driver (and change clang-cc default toDaniel Dunbar2009-11-171-2/+2
| | | | | | -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058
* Remove RUN: true lines.Daniel Dunbar2009-11-081-1/+0
| | | | llvm-svn: 86432
* Eliminate &&s in tests.Daniel Dunbar2009-11-089-35/+35
| | | | | | - '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
* Remove clang-cc code for handling -mmacosx-version-min andDaniel Dunbar2009-10-301-1/+1
| | | | | | -miphoneos-version-min. llvm-svn: 85601
* Fix crash when synthesizing property setters when the property type and ivarDaniel Dunbar2009-10-271-0/+6
| | | | | | | type have mismatched Objective-C types. - <rdar://problem/7336352> [irgen] crash in synthesized property construction llvm-svn: 85275
* clang-cc: Allow building for x86_64 with -mmacosx-version-min=10.4.Daniel Dunbar2009-10-261-0/+4
| | | | llvm-svn: 85132
* Add test for finding bfin backend.Daniel Dunbar2009-08-181-0/+1
| | | | llvm-svn: 79326
* Fix some made up triples.Daniel Dunbar2009-08-181-13/+13
| | | | llvm-svn: 79316
* 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
* AST printing for C++ base classesDouglas Gregor2009-05-301-0/+7
| | | | llvm-svn: 72617
* Pretty printing and improved representation for namespace alias declarationsDouglas Gregor2009-05-301-0/+2
| | | | llvm-svn: 72616
* Printing for using directives, e.g.,Douglas Gregor2009-05-303-0/+19
| | | | | | | | | using namespace std::debug; Extended UsingDirectiveDecl to store the nested-name-specifier that precedes the nominated namespace. llvm-svn: 72614
* Never suppress specifiers when printing the parameters of a functionDouglas Gregor2009-05-301-0/+2
| | | | | | declaration. llvm-svn: 72613
* Refactor and clean up the AST printer, so that it uses a DeclVisitor,Douglas Gregor2009-05-301-0/+1
| | | | | | | | | walks through DeclContexts properly, and prints more of the information available in the AST. The functionality is still available via -ast-print, -ast-dump, etc., and also via the new member functions Decl::dump() and Decl::print(). llvm-svn: 72597
* AST XML dump, from Olaf Krzikalla!Douglas Gregor2009-05-211-1/+2
| | | | llvm-svn: 72224
* Simplify tests now that GNU runtime supports exception handling.Daniel Dunbar2009-05-182-7/+0
| | | | llvm-svn: 72021
* This patch fixes two bugs in the GNU Objective-C runtime implementation. ↵Fariborz Jahanian2009-05-171-2/+1
| | | | | | | | One is a case in rethrowing exceptions where the C types don't match correctly (I already sent this patch to Daniel Dunbar, who found the bug, so it may have already been committed). The other fixes the case properties so that the methods generated as property accessors are added to the class structure correctly. Patch by David Chisnall. llvm-svn: 71980
* remove obsolete tests.Chris Lattner2009-04-222-10/+0
| | | | llvm-svn: 69830
* We no longer accept @defs with the non-fragile ABI.Daniel Dunbar2009-04-211-0/+2
| | | | llvm-svn: 69721
* Apply a patch which adds 'OriginalParmVar' to the DeclContextPrinter by JonZhongxing Xu2009-04-051-0/+3
| | | | | | Simons. llvm-svn: 68436
* Support member reference on ?: of struct type.Daniel Dunbar2009-03-241-0/+16
| | | | llvm-svn: 67603
* Rename clang to clang-cc.Daniel Dunbar2009-03-2413-42/+42
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Use not instead of ! in tests.Daniel Dunbar2009-03-241-1/+1
| | | | llvm-svn: 67601
* Update test case.Daniel Dunbar2009-03-202-7/+2
| | | | llvm-svn: 67392
* More super dot-syntax property implementationFariborz Jahanian2009-03-201-2/+0
| | | | | | | when there is actually a property declaration used in the dot-syntax. llvm-svn: 67391
* Don't mangle names of local variables.Daniel Dunbar2009-03-051-0/+8
| | | | | | | | - For one thing, this adds unneeded overhead; for another, this routine can be used to emit unnamed decls which we shouldn't try to mangle. llvm-svn: 66212
* Support va_arg on _Complex.Daniel Dunbar2009-02-101-0/+1
| | | | | | | | | | | gcc compat test suite results (Darwin x86-32 & -64): -- # of expected passes 1110 # of unexpected failures 74 # of unresolved testcases 168 # of unsupported tests 2 llvm-svn: 64197
* Handle demotion of coerced arguments (as in void a(x) short x; { ... }).Daniel Dunbar2009-02-042-3/+16
| | | | llvm-svn: 63726
* Force triple for this test case.Daniel Dunbar2009-02-041-3/+3
| | | | llvm-svn: 63699
* A couple more vector component access fixes.Nate Begeman2009-01-181-1/+1
| | | | llvm-svn: 62443
* Patch to diagnose a variety of misuse of propertyFariborz Jahanian2008-12-061-1/+1
| | | | | | | attributes. Example would be, readonly, assign or assign, copy, etc. llvm-svn: 60620
* disable these two tests, they crash and take a long time to run ↵Chris Lattner2008-11-132-4/+6
| | | | | | crashreporter etc. llvm-svn: 59254
* Use #define trickery to de-XFAIL test/Coverage/codegen-gnu.m whileDaniel Dunbar2008-10-242-3/+9
| | | | | | still getting coverage for non-IRgen cases. llvm-svn: 58084
* Use #define trickery to de-XFAIL test/Coverage/codegen-next.m whileDaniel Dunbar2008-10-242-6/+12
| | | | | | still getting coverage for non-IRgen cases. llvm-svn: 58082
* Add coverage of part of getPrimaryDecl that was failing prior toDaniel Dunbar2008-10-211-3/+4
| | | | | | previous commit. llvm-svn: 57930
* Add some uses of PredefinedExpr to language coverage includes.Daniel Dunbar2008-10-172-0/+10
| | | | llvm-svn: 57744
* Improve C language testing coverage.Daniel Dunbar2008-10-051-0/+35
| | | | llvm-svn: 57103
* Coverage test for targets.Daniel Dunbar2008-10-051-0/+18
| | | | | | - This pushes us over 80% coverage of executable LOC. llvm-svn: 57092
OpenPOWER on IntegriCloud