summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/defaulted-private-dtor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* PR10217: Provide diagnostics explaining why an implicitly-deleted specialRichard Smith2012-03-301-3/+3
| | | | | | member function is deleted. llvm-svn: 153773
* Make sure we don't try to produce a definition of an implicitly-deleted functionRichard Smith2012-02-261-5/+5
| | | | llvm-svn: 151478
* Teach CXXRecordDecl::hasIrrelevantDestructor to check the base classes andRichard Smith2012-02-251-1/+10
| | | | | | | | | data members for deleted or user-provided destructors. Now it's computed in advance, serialize it, and in passing fix all the other record DefinitionData flags whose serialization was missing. llvm-svn: 151441
* Diagnose uses of deleted destructors and inaccessible defaulted destructors.Richard Smith2012-02-181-0/+47
We had two separate issues here: firstly, varions functions were assuming that they did not need to perform semantic checks on trivial destructors (this is not true in C++11, where a trivial destructor can nonetheless be private or deleted), and a bunch of DiagnoseUseOfDecl calls were missing for uses of destructors. llvm-svn: 150866
OpenPOWER on IntegriCloud