summaryrefslogtreecommitdiffstats
path: root/clang/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Implemnt isVariablyModifiedType correctly.Eli Friedman2008-02-171-0/+3
| | | | llvm-svn: 47233
* implement codegen support for aggregates casted to void.Chris Lattner2008-02-161-1/+6
| | | | llvm-svn: 47226
* Implement extern block var.Lauro Ramos Venancio2008-02-161-0/+6
| | | | llvm-svn: 47223
* Add more testsAnders Carlsson2008-02-161-8/+35
| | | | llvm-svn: 47217
* Fix CheckEndOfDirective to diagnose lines that contain macros that expand to Chris Lattner2008-02-161-0/+5
| | | | | | | zero tokens. This fixes PR2045, thanks to Neil for finding another incredibly subtle corner case :) llvm-svn: 47203
* Make sizeof and __alignof work correctly with packed structs.Anders Carlsson2008-02-161-0/+37
| | | | llvm-svn: 47202
* Fix PR2041: restrict is not a keyword in c90.Chris Lattner2008-02-151-0/+3
| | | | llvm-svn: 47160
* Get rid of outdated code that masks type errors. Fixes PR2036.Eli Friedman2008-02-151-0/+2
| | | | llvm-svn: 47154
* Nevermind, these tests work... I messed up my testing.Eli Friedman2008-02-151-4/+2
| | | | llvm-svn: 47153
* Partial fix for struct compatibility; there's still something messy Eli Friedman2008-02-151-0/+19
| | | | | | going on with mixing scopes, though. llvm-svn: 47152
* A much better fix for http://llvm.org/bugs/show_bug.cgi?id=1987.Steve Naroff2008-02-141-3/+7
| | | | llvm-svn: 47103
* Fix a minor bug in isNullPointerConstant triggered by the linux Eli Friedman2008-02-131-0/+3
| | | | | | | | | tgmath.h. Note that there is another issue with tgmath.h, so mandel.c still doesn't work. llvm-svn: 47069
* Make typechecking for enum+int compatibility stricter.Eli Friedman2008-02-121-0/+4
| | | | llvm-svn: 47005
* Fix type compatibility between constant and variable arrays.Eli Friedman2008-02-121-0/+5
| | | | llvm-svn: 47003
OpenPOWER on IntegriCloud