OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:defaulted
(Results
1 - 25
of
155
) sorted by null
1
2
3
4
5
6
7
/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}}
41
NonConst(NonConst&) = default; // expected-error {{must be
defaulted
outside the class}
[
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
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
...]
/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"));
/external/clang/test/SemaCXX/
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
}}
cxx0x-cursory-default-delete.cpp
39
bad_decls(volatile bad_decls&) = default; // expected-error {{may not be volatile}} expected-error {{must be
defaulted
outside the class}}
41
bad_decls& operator = (volatile bad_decls&) = default; // expected-error {{may not be volatile}} expected-error {{must be
defaulted
outside the class}}
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
/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/clang/test/PCH/
cxx0x-default-delete.cpp
25
foo::foo() { } // expected-error{{definition of explicitly
defaulted
default constructor}}
/external/clang/test/Parser/
cxx0x-decl.cpp
21
// Due to a peculiarity in the C++11 grammar, a deleted or
defaulted
function
/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/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_.
p13-0x.cpp
62
// An explicitly-
defaulted
constructor doesn't become constexpr until the end of
/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/llvm/docs/
MakefileGuide.rst
679
``AR`` (
defaulted
)
738
``LLVMAS`` (
defaulted
)
747
``LLVMGCC`` (
defaulted
)
750
``LLVMGXX`` (
defaulted
)
753
``LLVMLD`` (
defaulted
)
766
``MKDIR`` (
defaulted
)
776
``RANLIB`` (
defaulted
)
779
``RM`` (
defaulted
)
782
``SED`` (
defaulted
)
788
``TBLGEN`` (
defaulted
)
[
all
...]
/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.
Completed in 363 milliseconds
1
2
3
4
5
6
7