Lines Matching full:defaulted

1848     // A destructor can be constexpr only if the defaulted destructor could be;
6190 // Synthesize and instantiate explicitly defaulted methods.
6493 // MSVC2015 doesn't export trivial defaulted x-tor but copy assign
6933 // Explicitly-defaulted secondary comparison functions (!=, <, <=, >, >=).
6939 // member function (whether it's defaulted, deleted, virtual, overriding,
6958 // Explain why this defaulted function was deleted.
6972 // Explain why this defaulted function was deleted.
6998 // Check whether the explicitly-defaulted members are valid.
7005 // For an explicitly defaulted or deleted special member, we defer
7076 // Define defaulted constexpr virtual functions that override a base class
7127 // Check the defaulted secondary comparisons after any other member functions.
7361 // defaulted default constructor is constexpr directly within CXXRecordDecl.
7457 /// RAII object to register a defaulted function as having its exception
7499 "only defaulted functions and inherited constructors have implicit "
7536 assert(FD->isExplicitlyDefaulted() && "not explicitly-defaulted");
7561 "not an explicitly-defaulted special member");
7574 // A function that is explicitly defaulted shall
7581 // defaulted on its first declaration, unless it's "an assignment operator,
7635 // A defaulted special member cannot have cv-qualifiers.
7708 // defaulted one cannot.
7716 // An explicitly-defaulted function may be declared constexpr only if it
7758 // If a function is explicitly defaulted on its first declaration, it is
7769 // [and] is defaulted on its first declaration, [...] the exception
7802 // [For a] user-provided explicitly-defaulted function [...] if such a
7816 /// Helper class for building and checking a defaulted comparison.
7818 /// Defaulted functions are built in two phases:
7854 llvm_unreachable("not a defaulted comparison");
7939 /// Information about a defaulted comparison, as determined by
7960 /// An element in the expanded list of subobjects of a defaulted comparison, as
7968 /// A visitor over the notional body of a defaulted comparison that determines
7998 // A defaulted comparison operator function for class C is defined as
8026 // A defaulted <=> or == operator function for class C is defined as
8060 /// [...] the defaulted function itself is never a candidate for overload
8131 // A defaulted comparison function is constexpr-compatible if
8157 // the defaulted operator.
8297 /// A visitor over the notional body of a defaulted comparison that synthesizes
8317 /// Build a suitable function body for this defaulted comparison operator.
8328 llvm_unreachable("not a defaulted comparison");
8584 llvm_unreachable("not a defaulted comparison");
8669 /// Perform the unqualified lookups that might be needed to form a defaulted
8678 // Every defaulted operator looks up itself.
8687 // defaulted 'operator=='.
8697 assert(DCK != DefaultedComparisonKind::None && "not a defaulted comparison");
8711 // A defaulted comparison operator function for some class C shall be a
8751 // corresponding defaulted 'operator<=>' already.
8822 // corresponding defaulted 'operator<=>' already.
8854 // Out of class, require the defaulted comparison to be a friend (of a
8873 // A [defaulted comparison other than <=>] shall have a declared return
8898 // For a defaulted function in a dependent class, defer all remaining checks
8912 // [For a] user-provided explicitly-defaulted function [...] if such a
8926 // [...] A definition of a comparison operator as defaulted that appears
8971 // An explicitly-defaulted function that is not defined as deleted may be
8974 // A defaulted comparison function is constexpr-compatible if it satisfies
8982 // A function explicitly defaulted on its first declaration is implicitly
9003 // If a constexpr-compatible function is explicitly defaulted on its first
9012 // [and] is defaulted on its first declaration, [...] the exception
9348 // A defaulted default constructor for class X is defined as deleted if
9404 // from the defaulted special member
9430 // The defaulted special functions are defined as deleted if this is a variant
9436 // Don't make the defaulted default constructor defined as deleted if the
9589 /// A defaulted default constructor for a class X is defined as deleted if
9611 /// Determine whether a defaulted special member function should be defined as
9753 assert(FD->isDefaulted() && FD->isDeleted() && "not defaulted and deleted");
9975 // Explain why the defaulted or deleted special member isn't trivial.
10585 // for each defaulted three-way comparison operator function defined in
14044 // Initializations are performed "as if by a defaulted default constructor",
14063 // initialization proceeds as if a defaulted default constructor is used to
14098 // We now proceed as if for a defaulted default constructor, with the relevant
14447 /// When generating a defaulted copy or move assignment operator, if a field
14914 // The implicitly-defined or explicitly-defaulted copy assignment operator
15251 // Only walk over bases that have defaulted move assignment operators.
18018 // Defer checking functions that are defaulted in a dependent context.
18024 // that we've marked it as defaulted.
18035 // If this member fn was defaulted on its first declaration, we will have