Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve diagnostics for invalid use of non-static members / this: | Richard Smith | 2012-04-05 | 2 | -4/+4 |
| | | | | | | | | | | | | * s/nonstatic/non-static/ in the diagnostics, since the latter form outvoted the former by 28-2 in our diagnostics. * Fix the "use of member in static member function" diagnostic to correctly detect this situation inside a block or lambda. * Produce a more specific "invalid use of non-static member" diagnostic for the case where a nested class member refers to a member of a lexically-surrounding class. llvm-svn: 154073 | ||||
* | Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. | Daniel Dunbar | 2009-12-15 | 2 | -2/+2 |
| | | | | | | | | | - 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 | ||||
* | Improve diagnostics for malformed delete operator function declarations. | Anders Carlsson | 2009-12-11 | 1 | -1/+1 |
| | | | | llvm-svn: 91180 | ||||
* | Deallocation functions must also be static. | Anders Carlsson | 2009-11-15 | 1 | -0/+11 |
| | | | | llvm-svn: 88859 | ||||
* | allocation functions are always static. | Anders Carlsson | 2009-11-15 | 1 | -0/+11 |
llvm-svn: 88858 |