summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/special/class.free/p6.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve diagnostics for invalid use of non-static members / this:Richard Smith2012-04-051-2/+2
| | | | | | | | | | | | * 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 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
* Improve diagnostics for malformed delete operator function declarations.Anders Carlsson2009-12-111-1/+1
| | | | llvm-svn: 91180
* Deallocation functions must also be static.Anders Carlsson2009-11-151-0/+11
llvm-svn: 88859
OpenPOWER on IntegriCloud