summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/expr-comma-c89.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename test/Sema/expr-comma-c89.c to expr-comma-c99.c. Spotted byPeter Collingbourne2011-02-251-17/+0
| | | | | | Anton Lokhmotov. llvm-svn: 126482
* Make the "unused result" warning a warning about run-time behavior, soDouglas Gregor2010-07-151-3/+3
| | | | | | that we don't warn when there isn't going to be any computation anyway. llvm-svn: 108442
* Fix rdar://8139785 "implement warning on dead expression in comma operator"Argyrios Kyrtzidis2010-06-301-3/+3
| | | | | | | | | | As a bonus, fix the warning for || and && operators; it was emitted even if one of the operands had side effects, e.g: x || test_logical_foo1(); emitted a bogus "expression result unused" for 'x'. llvm-svn: 107274
* 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
* Use clang to run tests which include headers from the system.Daniel Dunbar2009-11-171-1/+0
| | | | llvm-svn: 89085
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* c89 does not perform array -> pointer promotion unless the array is an ↵Chris Lattner2008-07-251-0/+18
lvalue. This is different than C99. This fixes the rest of rdar://6095180. llvm-svn: 54064
OpenPOWER on IntegriCloud