Lines Matching refs:Deleted
6261 // Don't process deleted methods.
6510 // If a class has at least one non-deleted, trivial copy constructor, it
6568 // either trivial or deleted, and X has at least one non-deleted copy
6743 // member function (whether it's defaulted, deleted, virtual, overriding,
6753 // A deleted function cannot override a non-deleted function and vice
6762 // Explain why this defaulted function was deleted.
6776 // Explain why this defaulted function was deleted.
6805 // For an explicitly defaulted or deleted special member, we defer
7149 // will be initialized (if the constructor isn't deleted), we just don't know
7436 // FIXME: This should not apply if the member is deleted.
7495 // function is implicitly defined as deleted, the program is ill-formed.
7497 assert(!ShouldDeleteForTypeMismatch && "deleted non-first decl");
7514 /// defined as deleted and no body is built.
7515 /// * Then, if the function is not defined as deleted, the body is built.
7629 bool Deleted = false;
7633 static DefaultedComparisonInfo deleted() {
7634 DefaultedComparisonInfo Deleted;
7635 Deleted.Deleted = true;
7636 return Deleted;
7640 Deleted |= R.Deleted;
7643 return Deleted;
7656 /// whether that body would be deleted or constexpr.
7686 // deleted if [...] C has variant members.
7691 return Result::deleted();
7714 // deleted if any non-static data member of C is of reference type
7720 return Result::deleted();
7769 // The operator function [...] is defined as deleted if [...] the
7780 return Result::deleted();
7785 // deleted. This requires that we selected an accessible function.
7802 return Result::deleted();
7819 return Result::deleted();
7834 // comparison is deleted: we diagnosed that when initially checking
7849 return Result::deleted();
7863 return Result::deleted();
7889 R = Result::deleted();
7907 R = Result::deleted();
7944 R = Result::deleted();
8477 // Determine whether the function should be defined as deleted.
8485 if (Info.Deleted) {
8489 // function is implicitly defined as deleted, the program is ill-formed.
8530 // An explicitly-defaulted function that is not defined as deleted may be
8884 // must be accessible and non-deleted, but need not be trivial. Such a
8928 // that is deleted or inaccessible
8932 // results in an ambiguity or a function that is deleted or inaccessible
8936 // that is deleted or inaccessible
8945 // type with a destructor that is deleted or inaccessible
8959 // The defaulted special functions are defined as deleted if this is a variant
8965 // Don't make the defaulted default constructor defined as deleted if the
9001 << Base->getType() << /*Deleted*/ 1 << /*IsDtorCallInCtor*/ false
9117 /// A defaulted default constructor for a class X is defined as deleted if
9120 // This is a silly definition, because it gives an empty union a deleted
9139 /// deleted, as specified in C++11 [class.ctor]p5, C++11 [class.copy]p11,
9153 // deleted (8.4.3) default constructor and a deleted copy
9173 // operator is defined as deleted.
9225 // results in an ambiguity or in a function that is deleted or inaccessible
9275 assert(FD->isDefaulted() && FD->isDeleted() && "not defaulted and deleted");
9402 // the member will also be deleted.
9412 // We deliberately don't check if we found a deleted special member. We're
9494 // Explain why the defaulted or deleted special member isn't trivial.
9566 /// Determine whether a defaulted or deleted special member function is trivial,
9856 // Ill-formed if the copy and move constructors are deleted.
10005 // For the MS ABI we need to know whether the copy ctor is deleted. A
10009 // more direct way for CodeGen to ask whether the constructor was deleted.
12870 // choose because the special member will be deleted.
13201 assert(!BaseCtor->isDeleted() && "should not use deleted constructor");
13352 // We can't check whether an implicit destructor is deleted before we complete
16811 // Deleted function does not have a body.
16830 // To maintain the invariant that functions are only deleted on their first
16832 // explicitly-specialized function as deleted instead of marking the
16837 // dllimport/dllexport cannot be deleted.
16844 // A program that defines main as deleted [...] is ill-formed.
16849 // A deleted function is implicitly inline.