Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Thread a Scope pointer into BuildRecoveryCallExpr to help typo | Douglas Gregor | 2010-04-14 | 1 | -0/+9 | |
| | | | | | | | correction find names when a call failed. Fixes <rdar://problem/7853795>. llvm-svn: 101278 | |||||
* | When a declaration of a function is missing an exception specification | Douglas Gregor | 2010-03-24 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | that was present in a prior declaration, emit a warning rather than a hard error (which we did before, and still do with mismatched exception specifications). Moreover, provide a fix-it hint with the throw() clause that should be added, e.g., t.C:10:7: warning: 'operator new' is missing exception specification 'throw(std::bad_alloc)' void *operator new(unsigned long sz) ^ throw(std::bad_alloc) As part of this, disable the warning when we're missing an exception specification on operator new, operator new[], operator delete, or operator delete[] when exceptions are turned off (-fno-exceptions). Fixes PR5957. llvm-svn: 99388 | |||||
* | Make this fix-it test case actually fail when there is a problem; add | Douglas Gregor | 2010-02-01 | 1 | -8/+9 | |
| | | | | | | | a test for access declarations and remove a (broken) test for removal of default arguments. llvm-svn: 95032 | |||||
* | 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 | |||||
* | Update FixIt tests to make it more obvious they use a separate mode. | Daniel Dunbar | 2009-11-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 88758 | |||||
* | If a function with a default argument is redefined and the new function also ↵ | Anders Carlsson | 2009-11-10 | 1 | -0/+9 | |
| | | | | | | has a defualt argument then add a fixit hint that removes the default argument. Fixes PR5444. llvm-svn: 86659 | |||||
* | Move the fix-it tests into their own subdirectory | Douglas Gregor | 2009-04-02 | 1 | -0/+29 | |
llvm-svn: 68325 |