summaryrefslogtreecommitdiffstats
path: root/clang/test
Commit message (Collapse)AuthorAgeFilesLines
* Use the -E option when invoking clang. Only the preprocessor isSam Bishop2008-03-212-2/+2
| | | | | | required to perform this test. llvm-svn: 48636
* Add ability to run clang tests under valgrind. Patch by Sam Bishop.Gabor Greif2008-03-203-8/+38
| | | | llvm-svn: 48621
* reduce chattyness of makefilesGabor Greif2008-03-202-2/+2
| | | | llvm-svn: 48597
* scan testdirs only once, patch by Mike Stump, thanks!Gabor Greif2008-03-201-1/+1
| | | | llvm-svn: 48589
* Convert tabs to spaces.Ted Kremenek2008-03-191-7/+7
| | | | llvm-svn: 48539
* add 'clean' targets, make sure that 'make test' works after 'make clean'Gabor Greif2008-03-182-1/+10
| | | | llvm-svn: 48488
* let the %t magic happen, thanks Chris!Gabor Greif2008-03-181-1/+1
| | | | llvm-svn: 48487
* finishing touches: teminate the dots with a newlineGabor Greif2008-03-171-0/+3
| | | | llvm-svn: 48462
* Implemented verbose mode.Gabor Greif2008-03-171-4/+10
| | | | | | | | | | | | | | | | make test VERBOSE=1 should now produce the same output like the Makefile normally does. Without VERBOSE only the names of failed tests are printed. I am pretty comfortable with this version, and I think it is time to switch over to Makefile.parallel to be the default. What do you think? Did I forget some piece of feedback? llvm-svn: 48458
* Simplify further by creating *.testresults filesGabor Greif2008-03-171-8/+4
| | | | | | | inside of the Output/ directory. The testclean target could be removed now. llvm-svn: 48457
* Get rid of the creation of secondary makefile "Makefile.tests".Gabor Greif2008-03-171-27/+15
| | | | | | | This implements second part of <http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080310/004727.html>. llvm-svn: 48456
* More review feedback implemented:Gabor Greif2008-03-171-7/+5
| | | | | | | | | Get rid of "awk" dependence by using same "make" functionality: <http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080310/004727.html> llvm-svn: 48455
* Actually expand the %t1 patterns (in RUN: lines) to a uniqueGabor Greif2008-03-171-1/+3
| | | | | | | | | | | | filename. This fixes (e.g.) CodeGen/struct-x86-darwin.c which raced at writing to "%t1" with other tests when parallel testing was specified with a high "-j XX" value. Also gets rid of the file tools/clang/test/%t1 when doing an "svn st" after testing. llvm-svn: 48454
* Second round of review feedback.Gabor Greif2008-03-172-1/+3
| | | | | | | | | | | * print out message when tests start * testrunner sets status now * on failed test run print out test name I tested these changes with the non-parallel makefile and it did not break. llvm-svn: 48453
* implement a bit of feedback: print dotsGabor Greif2008-03-151-7/+2
| | | | llvm-svn: 48394
* First draft of a parallelized test methodology. Improvements soon.Gabor Greif2008-03-151-0/+49
| | | | llvm-svn: 48391
* Correctly error on arrays with automatic storage full of objects with Nate Begeman2008-03-141-2/+3
| | | | | | | non-default address space, and fix comment. Add a test for this. llvm-svn: 48366
* ISO/IEC TR 18037 Nate Begeman2008-03-141-0/+2
| | | | | | | | An address space name cannot be used to qualify an object that has automatic storage duration. Still not catching ASQual'd allocas of array type, just scalars at the moment. llvm-svn: 48350
* Two fixes to RewriteTest::RewriteObjCIvarRefExpr():Steve Naroff2008-03-121-0/+1
| | | | | | | | - For explicit ivar refers, make sure the cast is propagated to the AST. - Don't free the base (since it is still in use). This fixes the recent regression to test/Rewriter/objc-ivar-receiver-1.m. llvm-svn: 48309
* Since the rewriter now outputs C++, it no longer makes sense to pipe the ↵Steve Naroff2008-03-1216-16/+16
| | | | | | | | output to clang. This should "fix" all but one of the test failure. llvm-svn: 48275
* rewriter tests are darwin specific, don't run them on other platforms.Chris Lattner2008-03-101-3/+9
| | | | llvm-svn: 48168
* implement simple support for arbitrary token lookahead. Change the Chris Lattner2008-03-101-2/+5
| | | | | | | | objc @try parser to use it, fixing a FIXME. Update the objc-try-catch-1.m file to pass now that we get more reasonable errors. llvm-svn: 48129
* Add new testNate Begeman2008-03-071-0/+10
| | | | llvm-svn: 48018
* Patch by Nuno Lopes:Ted Kremenek2008-03-071-0/+16
| | | | | | | Added more comments for code processing attribute "format". Added more checks for corner cases, test cases, and warnings. llvm-svn: 48011
* remove two obsolete tests, not sure why my previous commit didn't commit the ↵Chris Lattner2008-03-062-54/+0
| | | | | | removal. llvm-svn: 47986
* Remove the first layer of support for "portability" warnings. This is Chris Lattner2008-03-051-5/+0
| | | | | | | | | | | | | | | theoretically useful, but not useful in practice. It adds a bunch of complexity, and not much value. It's best to nuke it. One big advantage is that it means the target interfaces will soon lose their SLoc arguments and target queries can never emit diagnostics anymore (yay). Removing this also simplifies some of the core preprocessor which should make it slightly faster. Ted, I didn't simplify TripleProcessor, which can now have at most one triple, and can probably just be removed. Please poke at it when you have time. llvm-svn: 47930
* The operand to the visibility attribute is required to be a quoted string, ↵Chris Lattner2008-03-041-2/+2
| | | | | | not a bare identifier. llvm-svn: 47893
* move deprecated -> attributes.cChris Lattner2008-03-031-25/+0
| | | | llvm-svn: 47856
* The attribute nothrow maps to llvm attribute nounwind. Fix testcase.Gabor Greif2008-03-031-1/+1
| | | | llvm-svn: 47841
* Chris added this testcase with r47837. The mail only shows one todo-warning ↵Gabor Greif2008-03-031-2/+2
| | | | | | but I see 3. Strangeness. Correcting lines 16 and 24. llvm-svn: 47840
* fix codegen support for functions that are nothrow and noreturn.Chris Lattner2008-03-031-0/+5
| | | | llvm-svn: 47838
* Add a bunch of attributes, patch by Nuno Lopes.Chris Lattner2008-03-032-0/+46
| | | | llvm-svn: 47837
* Fix http://llvm.org/bugs/show_bug.cgi?id=2103.Steve Naroff2008-02-291-1/+14
| | | | llvm-svn: 47775
* Fix http://llvm.org/bugs/show_bug.cgi?id=2106.Steve Naroff2008-02-291-0/+4
| | | | llvm-svn: 47768
* testcase for attr deprecated, by Nuno Lopes.Chris Lattner2008-02-291-0/+25
| | | | llvm-svn: 47757
* Implement codegen for the following static var init.Lauro Ramos Venancio2008-02-261-1/+6
| | | | | | | | | | | void g() { static char a[10]; static char *b = a; } Now we can compile wget! llvm-svn: 47627
* Fix a bug in ConvertAsmString function. Lauro Ramos Venancio2008-02-261-0/+6
| | | | llvm-svn: 47618
* Convert x86 target specific inline asm constraints to LLVM.Lauro Ramos Venancio2008-02-261-0/+15
| | | | llvm-svn: 47609
* Fix PR2086.Lauro Ramos Venancio2008-02-252-0/+17
| | | | llvm-svn: 47551
* Fix PR2090, a typo in digraph processing.Chris Lattner2008-02-241-0/+15
| | | | llvm-svn: 47540
* add a test caseNate Begeman2008-02-211-0/+7
| | | | llvm-svn: 47455
* Some const initializer tests for stuff I just committed.Eli Friedman2008-02-211-0/+13
| | | | llvm-svn: 47442
* implement codegen support for sizeof(void), fixing PR2080.Chris Lattner2008-02-211-0/+11
| | | | llvm-svn: 47429
* add some semantic checks for address spaces.Chris Lattner2008-02-211-0/+15
| | | | llvm-svn: 47423
* Simplify aggregate initilizer implementation. Use the ↵Lauro Ramos Venancio2008-02-191-0/+1
| | | | | | | | | CodeGenModule::EmitConstantExpr method when possible. Fix mediabench/mpeg2/mpeg2dec test. llvm-svn: 47336
* fix the second half of PR2041: __restrict is ok in c90 mode, even ifChris Lattner2008-02-191-1/+1
| | | | | | restrict isn't. llvm-svn: 47316
* A global without initializer must be emitted as weak.Lauro Ramos Venancio2008-02-191-0/+3
| | | | | | Fix Olden/bh test. llvm-svn: 47292
* Implement multi-dimension array initalizer.Lauro Ramos Venancio2008-02-181-5/+12
| | | | | | Fix McCat/08-main test. llvm-svn: 47286
* Tweak fix for http://llvm.org/bugs/show_bug.cgi?id=2000 to work across typedefs.Steve Naroff2008-02-181-0/+10
| | | | llvm-svn: 47269
* Fix PR2042. One remaining issue: we don't currently diagnoseChris Lattner2008-02-173-2/+8
| | | | | | | | | int foobar(int); int foobar() {} which requires ifdef'ing out a testcase in predefined-function.c. llvm-svn: 47236
OpenPOWER on IntegriCloud