Lines Matching defs:deleted
6539 // Don't process deleted methods.
6838 // either trivial or deleted, and X has at least one non-deleted copy
7006 // member function (whether it's defaulted, deleted, virtual, overriding,
7016 // A deleted function cannot override a non-deleted function and vice
7025 // Explain why this defaulted function was deleted.
7039 // Explain why this defaulted function was deleted.
7072 // For an explicitly defaulted or deleted special member, we defer
7459 // will be initialized (if the constructor isn't deleted), we just don't know
7801 // FIXME: This should not apply if the member is deleted.
7881 // function is implicitly defined as deleted, the program is ill-formed.
7884 assert(!ShouldDeleteForTypeMismatch && "deleted non-first decl");
7901 /// defined as deleted and no body is built.
7902 /// * Then, if the function is not defined as deleted, the body is built.
8024 static DefaultedComparisonInfo deleted() {
8047 /// whether that body would be deleted or constexpr.
8077 // deleted if [...] C has variant members.
8082 return Result::deleted();
8105 // deleted if any non-static data member of C is of reference type
8111 return Result::deleted();
8156 // The operator function [...] is defined as deleted if [...] the
8179 return Result::deleted();
8184 // deleted. This requires that we selected an accessible function.
8201 return Result::deleted();
8221 return Result::deleted();
8234 // comparison is deleted: we diagnosed that when initially checking
8249 return Result::deleted();
8262 return Result::deleted();
8297 R = Result::deleted();
8315 R = Result::deleted();
8353 R = Result::deleted();
8984 // Determine whether the function should be defined as deleted.
8994 // function is implicitly defined as deleted, the program is ill-formed.
9052 // An explicitly-defaulted function that is not defined as deleted may be
9424 // must be accessible and non-deleted, but need not be trivial. Such a
9429 // A defaulted default constructor for class X is defined as deleted if
9480 // that is deleted or inaccessible
9484 // results in an ambiguity or a function that is deleted or inaccessible
9488 // that is deleted or inaccessible
9497 // type with a destructor that is deleted or inaccessible
9511 // The defaulted special functions are defined as deleted if this is a variant
9517 // Don't make the defaulted default constructor defined as deleted if the
9670 /// A defaulted default constructor for a class X is defined as deleted if
9673 // This is a silly definition, because it gives an empty union a deleted
9693 /// deleted, as specified in C++11 [class.ctor]p5, C++11 [class.copy]p11,
9709 // deleted (8.4.3) default constructor and a deleted copy
9730 // operator is defined as deleted.
9784 // results in an ambiguity or in a function that is deleted or inaccessible
9834 assert(FD->isDefaulted() && FD->isDeleted() && "not defaulted and deleted");
9961 // the member will also be deleted.
9971 // We deliberately don't check if we found a deleted special member. We're
10056 // Explain why the defaulted or deleted special member isn't trivial.
10426 // Ill-formed if the copy and move constructors are deleted.
10605 // For the MS ABI we need to know whether the copy ctor is deleted. A
10609 // more direct way for CodeGen to ask whether the constructor was deleted.
13768 // choose because the special member will be deleted.
14114 assert(!BaseCtor->isDeleted() && "should not use deleted constructor");
14267 // We can't check whether an implicit destructor is deleted before we complete
18079 // To maintain the invariant that functions are only deleted on their first
18081 // explicitly-specialized function as deleted instead of marking the
18086 // dllimport/dllexport cannot be deleted.
18093 // A program that defines main as deleted [...] is ill-formed.
18098 // A deleted function is implicitly inline.