summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/statements.c
Commit message (Collapse)AuthorAgeFilesLines
* Integers which are too large should be an error.Eli Friedman2013-07-231-7/+0
| | | | | | | | Switch some warnings over to errors which should never have been warnings in the first place. (Also, a minor fix to the preprocessor rules for integer literals while I'm here.) llvm-svn: 186903
* clang/test: [PR8833] Introduce the feature "LP64" to suppress ↵NAKAMURA Takumi2012-09-121-0/+1
| | | | | | | | LLP64-incompatible tests. I think some of them could be rewritten to fit also LLP64. llvm-svn: 163699
* [frontend] Don't allow a mapping to a warning override an error/fatal mapping.Chad Rosier2012-02-031-1/+1
| | | | | | rdar://10736625 llvm-svn: 149662
* Revert "Clean up in buildbot directories."Jakob Stoklund Olesen2010-09-151-1/+0
| | | | | | | | | This reverts commit 113814. This patch was never intended to stay in the repository. If you are reading this from the future, we apologize for the noise. llvm-svn: 113990
* Clean up in buildbot directories.Jakob Stoklund Olesen2010-09-131-0/+1
| | | | | | | | This test created a statements.ll file until about a month ago. Some buildbots still have this file in their source dir. This is the easiest way to remove the file on all bots. Then I'll revert. llvm-svn: 113814
* Try to get this to stop leaving a temporary file on linux.Eric Christopher2010-09-131-1/+1
| | | | llvm-svn: 113793
* Prevent these tests from dirtying the tree with output files that aren't evenChandler Carruth2010-08-061-1/+1
| | | | | | used for the test. llvm-svn: 110431
* Only run the jump-checker if there's a branch-protected scope *and* there'sJohn McCall2010-08-011-2/+7
| | | | | | | | | | a switch or goto somewhere in the function. Indirect gotos trigger the jump-checker regardless, because the conditions there are slightly more elaborate and it's too marginal a case to be worth optimizing. Turns off the jump-checker in a lot of cases in C++. rdar://problem/7702918 llvm-svn: 109962
* fix PR7280 by making the warning on code like this:Chris Lattner2010-07-111-1/+1
| | | | | | | | | | int test1() { return; } default to an error. llvm-svn: 108108
* 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
* Teach sema and codegen about the difference between address of labels,Chris Lattner2009-10-131-1/+3
| | | | | | | | | | which is a common idiom to improve PIC'ness of code using the addr of label extension. This implementation is a gross hack, but the only other alternative would be to teach evalutate about this horrid combination. While GCC allows things like "&&foo - &&bar + 1", people don't use this in practice. This implements PR5131. llvm-svn: 83957
* merge an indirect goto test into statements, add anotherChris Lattner2009-10-131-0/+20
| | | | | | hairier (but nonsensical) example. llvm-svn: 83951
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* explicitly document that return statement argument does not necessarily ↵Chris Lattner2008-02-061-2/+6
| | | | | | follow the result type of the function. Add testcase. llvm-svn: 46823
* Move promoteExprToType from being a static method in SemaExpr.cpp to beingChris Lattner2008-01-161-0/+9
a method named ImpCastExprToType in Sema. Use this method to insert implicit casts for case statements from their operand type to the condition type of the switch. This fixes a crash on test/CodeGen/statements.c, reported by Eli Friedman. llvm-svn: 46083
OpenPOWER on IntegriCloud