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

1 2 3 4 5 6

  /external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/
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 {{an explicitly-defaulted move assignment operator must return an unqualified lvalue reference to its class type}}
21 const AssignmentRet2& operator=(AssignmentRet2&&) = default; // expected-error {{an explicitly-defaulted move assignment operator must return an unqualified lvalue reference to its class type}}
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}}
52 AssignmentRet1&& operator=(const AssignmentRet1&) = default; // expected-error {{an explicitly-defaulted copy assignment operator must return an unqualified lvalue reference to its class type}
    [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&) = default; // expected-error {{explicitly-defaulted copy assignment operator may not have}}
10 constexpr S1 &operator=(S1&&) = 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
  /external/clang/test/CodeGen/
cxx-default-arg.cpp 4 // that makes all of the defaulted arguments explicit. The resulting
  /external/clang/test/PCH/
cxx0x-default-delete.cpp 25 foo::foo() { } // expected-error{{definition of explicitly defaulted default constructor}}
  /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...]
EmulatedFieldsForLoading.java 64 public boolean defaulted(String name) throws IOException, method in class:EmulatedFieldsForLoading
66 return emulatedFields.defaulted(name);
  /external/clang/test/CXX/special/class.dtor/
p5-0x.cpp 13 // A defaulted destructor for a class X is defined as deleted if:
97 virtual ~D3() = default; // expected-note {{explicitly defaulted function was implicitly deleted here}}
  /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 54 // destructor can be defaulted. Destructors can't be constexpr since they
55 // don't have a literal return type. Defaulted assignment operators can't be
57 constexpr T &operator=(const T&) = default; // expected-error {{an explicitly-defaulted copy assignment operator may not have 'const', 'constexpr' or 'volatile' qualifiers}}
  /external/clang/test/SemaCXX/
implicit-exception-spec.cpp 6 // The exception specification of a defaulted default constructor depends on
member-init.cpp 51 CheckExcSpecFail() noexcept(true) = default; // expected-error {{exception specification of explicitly defaulted default constructor does not match the calculated one}}
cxx98-compat.cpp 67 struct Defaulted {
68 Defaulted() = default; // expected-warning {{defaulted function definitions are incompatible with C++98}}
  /external/clang/test/CXX/special/class.copy/
p11.0x.move.cpp 7 // A defaulted move constructor for a class X is defined as deleted if X has:
158 // ok, A's explicitly-defaulted move operations copy m_.
p11.0x.copy.cpp 7 // A defaulted copy constructor for a class X is defined as deleted if X has:
  /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
  /external/apache-xml/src/main/java/org/apache/xalan/processor/
ProcessorAttributeSet.java 92 * @param attributes The specified or defaulted attributes.
ProcessorGlobalParamDecl.java 59 * @param attributes The specified or defaulted attributes.
ProcessorGlobalVariableDecl.java 59 * @param attributes The specified or defaulted attributes.
  /external/chromium/base/threading/
thread_local_unittest.cc 85 // Check that both threads defaulted to NULL.
  /libcore/luni/src/main/java/javax/xml/transform/
Templates.java 51 * and these properties are "defaulted" by default properties specified by
  /libcore/luni/src/main/java/org/xml/sax/ext/
Locator2.java 39 * or be defaulted by the parser.
Attributes2Impl.java 27 * always be false, except for defaulted attributes (<em>specified</em>
58 * Otherwise the flag values are defaulted to assume no DTD was used,
  /frameworks/av/libvideoeditor/vss/3gpwriter/inc/
M4MP4W_Types.h 222 (defaulted) for AMR */
271 (defaulted) for H263*/
  /external/bison/src/
tables.c 67 array of state numbers of the non defaulted GOTO on VECTOR.
390 /* Allocate non defaulted actions. */
396 /* Store non defaulted actions. */
468 | i.e., the information related to non defaulted GOTO on the nterm |
497 /* Allocate room for non defaulted gotos. */
501 /* Store the state numbers of the non defaulted gotos. */

Completed in 784 milliseconds

1 2 3 4 5 6