| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Don't crash when emitting a glvalue conditional where one arm is a | Richard Smith | 2014-06-20 | 1 | -0/+32 |
| | | | | | | | throw-expression. Based on a patch by Marius Wachtler! llvm-svn: 211388 | ||||
| * | PR17052 / DR1560 (+DR1550): In a conditional expression between a glvalue and a | Richard Smith | 2014-01-27 | 1 | -0/+13 |
| | | | | | | | | throw-expression, the result is also a glvalue and isn't unnecessarily coerced to a prvalue. llvm-svn: 200189 | ||||
| * | CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵ | Stephen Lin | 2013-08-15 | 1 | -2/+2 |
| | | | | | | | tests fail. llvm-svn: 188447 | ||||
| * | Allow paren casted throw statements inside of ternary expressions | David Majnemer | 2013-06-02 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | clang would incorrectly not allow the following: int x = true ? (throw 1) : 2; The problem exists because we don't see beyond the parens. This, in turn, causes us to believe that we are choosing between void and int which we diagnose as an error. Instead, allow clang to see the 'throw' inside the parens. llvm-svn: 183085 | ||||
| * | Add missing triple to unit test. | Richard Smith | 2013-05-08 | 1 | -2/+1 |
| | | | | | llvm-svn: 181465 | ||||
| * | Don't crash in IRGen if a conditional with 'throw' in one of its branches is | Richard Smith | 2013-05-07 | 1 | -1/+26 |
| | | | | | | | used as a branch condition. llvm-svn: 181368 | ||||
| * | Prior to adding the new "expected-no-diagnostics" directive to ↵ | Andy Gibbs | 2012-10-19 | 1 | -0/+1 |
| | | | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280 | ||||
| * | Handle an edge case involving the conditional operator and throw ↵ | Eli Friedman | 2011-10-15 | 1 | -0/+5 |
| | | | | | | | expressions. PR10582. llvm-svn: 142047 | ||||
| * | Add -fcxx-exceptions to all tests that use C++ exceptions. | Anders Carlsson | 2011-02-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 126599 | ||||
| * | Pass -fexceptions to all tests that use try/catch/throw. | Anders Carlsson | 2011-02-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 126037 | ||||
| * | Don't assert on attempts to throw 'bool'. I wonder if in the history of C++ | John McCall | 2010-10-29 | 1 | -0/+5 |
| | | | | | | | anyone has ever intentionally done this outside of a compiler test case. llvm-svn: 117645 | ||||
| * | Insulate these from changes to the default for -Wunreachable-code. | Mike Stump | 2010-01-23 | 1 | -1/+1 |
| | | | | | llvm-svn: 94326 | ||||
| * | Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. | Daniel Dunbar | 2009-12-15 | 1 | -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 | ||||
| * | Correctly handle conditional operators involving throw. | Eli Friedman | 2009-12-07 | 1 | -0/+10 |
| llvm-svn: 90800 | |||||

