summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/implicit-member-functions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Re-do R131114 without breaking code.Alexis Hunt2011-05-101-1/+1
| | | | | | | | | I've edited one diagnostic which would print "copy constructor" for copy constructors and "constructor" for any other constructor. If anyone is extremely enamored with this, it can be reinstated with a simple boolean flag rather than calling getSpecialMember, which is inappropriate. llvm-svn: 131143
* When looking for an entity's Scope, don't consider scopes that can't contain ↵Sebastian Redl2010-07-081-0/+11
| | | | | | declarations. Fixes PR7594. llvm-svn: 107927
* Allow classes to befriend implicitly-declared members. Fixes PR6207 forJohn McCall2010-04-131-4/+4
| | | | | | members of non-templated classes. llvm-svn: 101122
* When creating the implicitly-declared special member functions, beDouglas Gregor2010-04-121-0/+27
| | | | | | | | sure to introduce them into the current Scope (when we have one) in addition to the DeclContext for the class, so that they can be found by name lookup for inline members of the class. Fixes PR6570. llvm-svn: 101047
* 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
* Diagnose declarations of implicit member functions.Anders Carlsson2009-12-041-0/+14
llvm-svn: 90605
OpenPOWER on IntegriCloud