HomeSort by relevance Sort by last modified time
    Searched full:defaulted (Results 1 - 25 of 226) sorted by null

1 2 3 4 5 6 7 8 910

  /external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/
p1.cpp 3 // A function that is explicitly defaulted shall
8 DefArg(int n = 5) = default; // expected-error {{an explicitly-defaulted constructor cannot have default arguments}}
9 DefArg(const DefArg &DA = make()) = default; // expected-error {{an explicitly-defaulted constructor cannot have default arguments}}
10 DefArg(const DefArg &DA, int k = 3) = default; // expected-error {{an explicitly-defaulted copy constructor cannot have default arguments}}
11 DefArg(DefArg &&DA = make()) = default; // expected-error {{an explicitly-defaulted constructor cannot have default arguments}}
12 DefArg(DefArg &&DA, int k = 3) = default; // expected-error {{an explicitly-defaulted move constructor cannot have default arguments}}
p2.cpp 7 Const(const Const&&) = default; // expected-error {{the parameter for an explicitly-defaulted move constructor may not be const}}
8 Const& operator=(const Const&&) = default; // expected-error {{the parameter for an explicitly-defaulted move assignment operator may not be const}}
12 Volatile(volatile Volatile&&) = default; // expected-error {{the parameter for an explicitly-defaulted move constructor may not be volatile}}
13 Volatile& operator=(volatile Volatile&&) = default; // expected-error {{the parameter for an explicitly-defaulted move assignment operator may not be volatile}}
17 AssignmentRet1&& operator=(AssignmentRet1&&) = default; // expected-error {{explicitly-defaulted move assignment operator must return 'move::AssignmentRet1 &'}}
21 const AssignmentRet2& operator=(AssignmentRet2&&) = default; // expected-error {{explicitly-defaulted move assignment operator must return 'move::AssignmentRet2 &'}}
25 ConstAssignment& operator=(ConstAssignment&&) const = default; // expected-error {{an explicitly-defaulted move assignment operator may not have 'const', 'constexpr' or 'volatile' qualifiers}}
31 Volatile(const volatile Volatile&) = default; // expected-error {{the parameter for an explicitly-defaulted copy constructor may not be volatile}}
32 Volatile& operator=(const volatile Volatile&) = default; // expected-error {{the parameter for an explicitly-defaulted copy assignment operator may not be volatile}}
65 AssignmentRet1&& operator=(const AssignmentRet1&) = default; // expected-error {{explicitly-defaulted copy assignment operator must return 'copy::AssignmentRet1 &'}
    [all...]
  /external/clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/
p2.cpp 3 // An explicitly-defaulted function may be declared constexpr only if it would
6 constexpr S1() = default; // expected-error {{defaulted definition of default constructor is not constexpr}}
9 constexpr S1 &operator=(const S1&) const = default; // expected-error {{explicitly-defaulted copy assignment operator may not have}}
10 constexpr S1 &operator=(S1&&) const = default; // expected-error {{explicitly-defaulted move assignment operator may not have}}
21 constexpr S2(const S2&) = default; // expected-error {{defaulted definition of copy constructor is not constexpr}}
22 constexpr S2(S2&&) = default; // expected-error {{defaulted definition of move constructor is not constexpr}}
26 // If a function is explicitly defaulted on its first declaration
59 // An explicitly-defaulted function may have an exception specification only if
70 E2() noexcept(false) = default; // expected-error {{exception specification of explicitly defaulted default constructor does not match the calculated one}}
71 E2(const E2&) noexcept(false) = default; // expected-error {{exception specification of explicitly defaulted copy constructor does not match the calculated one}
    [all...]
p1.cpp 3 // A function that is explicitly defaulted shall
6 A(int) = default; // expected-error {{only special member functions may be defaulted}}
  /external/clang/test/SemaCXX/
cxx11-unused.cpp 4 // defaulted functions
microsoft-dtor-lookup-cxx11.cpp 10 virtual ~T() = default; // expected-note {{explicitly defaulted function was implicitly deleted here}}
cxx0x-defaulted-functions.cpp 145 Y::Y() = default; // expected-error {{definition of explicitly defaulted}}
146 Y::Y(const Y&) = default; // expected-error {{definition of explicitly defaulted}}
147 Y::Y(Y&&) = default; // expected-error {{definition of explicitly defaulted}}
148 Y &Y::operator=(const Y&) = default; // expected-error {{definition of explicitly defaulted}}
149 Y &Y::operator=(Y&&) = default; // expected-error {{definition of explicitly defaulted}}
150 Y::~Y() = default; // expected-error {{definition of explicitly defaulted}}
171 Outer<T>::Inner2<T>::~Inner2() = default; // expected-error {{nested name specifier 'Outer<T>::Inner2<T>::' for declaration does not refer into a class, class template or class template partial specialization}} expected-error {{only special member functions may be defaulted}}
member-init.cpp 17 int &n = b() ? Recurse().n : k; // expected-error {{defaulted default constructor of 'Recurse' cannot be used by non-static data member initializer which appears before end of class definition}}
51 CheckExcSpecFail() noexcept(true) = default; // expected-error {{exception specification of explicitly defaulted default constructor does not match the calculated one}}
implicit-exception-spec.cpp 6 // The exception specification of a defaulted default constructor depends on
  /external/clang/test/CXX/special/class.copy/
p28-cxx11.cpp 5 // called by a defaulted assignment operator, and the selected operator might
p11.0x.move.cpp 8 // A defaulted move constructor for a class X is defined as deleted if X has:
62 // constructor, because it was defaulted and deleted).
183 // ok, A's explicitly-defaulted move operations copy m_.
  /external/clang/test/CodeGen/
cxx-default-arg.cpp 4 // that makes all of the defaulted arguments explicit. The resulting
  /libcore/luni/src/test/java/libcore/java/io/
OldObjectInputStreamGetFieldTest.java 80 Support_GetPutFieldsDefaulted defaulted = local
88 defaulted.equals(newDefaulted));
103 fields.defaulted("noField");
107 assertFalse("The field longValue should not be defaulted.",
108 fields.defaulted("longValue"));
110 // Now the same with defaulted fields.
116 assertTrue("The field longValue should be defaulted.",
117 fields.defaulted("longValue"));
  /libcore/luni/src/main/java/java/io/
EmulatedFields.java 43 boolean defaulted = true; field in class:EmulatedFields.ObjectSlot
117 public boolean defaulted(String name) throws IllegalArgumentException { method in class:EmulatedFields
122 return slot.defaulted;
176 slot.defaulted = true;
210 return slot.defaulted ? defaultValue : ((Byte) slot.fieldValue).byteValue();
230 return slot.defaulted ? defaultValue : ((Character) slot.fieldValue).charValue();
250 return slot.defaulted ? defaultValue : ((Double) slot.fieldValue).doubleValue();
270 return slot.defaulted ? defaultValue : ((Float) slot.fieldValue).floatValue();
290 return slot.defaulted ? defaultValue : ((Integer) slot.fieldValue).intValue();
310 return slot.defaulted ? defaultValue : ((Long) slot.fieldValue).longValue()
    [all...]
  /external/bison/src/
graphviz.c 175 bool defaulted = false; local
187 defaulted = true;
198 if (! defaulted)
207 conclude_red (&eout, source, ruleno, true, firste && !defaulted, fout);
  /external/clang/test/PCH/
cxx0x-default-delete.cpp 30 foo::foo() { } // expected-error{{definition of explicitly defaulted default constructor}}
  /external/clang/test/CXX/special/class.dtor/
p5-0x.cpp 13 // A defaulted destructor for a class X is defined as deleted if:
98 virtual ~D3() = default; // expected-note {{explicitly defaulted function was implicitly deleted here}}
  /external/clang/test/Parser/
cxx0x-decl.cpp 21 // Due to a peculiarity in the C++11 grammar, a deleted or defaulted function
40 typedef void d() = default; // expected-error {{function definition declared 'typedef'}} expected-error {{only special member functions may be defaulted}}
  /packages/services/Telephony/src/com/android/phone/
GsmUmtsOptions.java 67 // Determine which options to display, for GSM these are defaulted
68 // are defaulted to true in Phone/res/values/config.xml. But for
  /external/libpng/scripts/
symbols.dfn 35 * defaulted to 'off' in scripts/pnglibconf.dfa
  /frameworks/native/include/ui/
FrameStats.h 36 * the application). They are either explicitly set or defaulted to the time when
  /hardware/ti/omap3/dspbridge/inc/
dbc.h 30 * Requires that the GT->ERROR function has been defaulted to a valid
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
p3.cpp 59 // destructor can be defaulted. Destructors can't be constexpr since they
60 // don't have a literal return type. Defaulted assignment operators can't be
64 // expected-error@-2 {{an explicitly-defaulted copy assignment operator may not have 'const', 'constexpr' or 'volatile' qualifiers}}
67 // expected-error@-5 {{defaulted definition of copy assignment operator is not constexpr}}
77 // expected-error@-1 {{an explicitly-defaulted copy assignment operator may not have 'const' or 'volatile' qualifiers}}
  /external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
Channel.h 118 // External timing info, defaulted to -1. Only used if they are
  /external/clang/test/CXX/special/class.ctor/
p5-0x.cpp 20 // A defaulted default constructor for a class X is defined as deleted if:
100 // inaccessible from the defaulted default constructor, or
119 // a destructor that is deleted or inaccessible from the defaulted default
200 // Ensure we determine whether an explicitly-defaulted or deleted special

Completed in 631 milliseconds

1 2 3 4 5 6 7 8 910