OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:overloaded
(Results
1 - 25
of
771
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/art/test/078-polymorphic-virtual/
info.txt
1
Stress test predicted chaining for
overloaded
virtual callsite with 3 resolved
/hardware/bsp/intel/peripheral/libupm/src/pulsensor/
Callback.h
11
{ /* empty,
overloaded
in Java*/
/hardware/bsp/intel/peripheral/libupm/src/nrf24l01/
Callback.h
11
{ /* empty,
overloaded
in Java*/
/external/clang/test/SemaCXX/
overloaded-operator-decl.cpp
15
static int operator+(Y, Y); // expected-error{{
overloaded
'operator+' cannot be a static member function}}
23
X operator+(int, float); // expected-error{{
overloaded
'operator+' must have at least one parameter of class or enumeration type}}
25
X operator*(X, X = 5); // expected-error{{parameter of
overloaded
'operator*' cannot have a default argument}}
27
X operator/(X, X, ...); // expected-error{{
overloaded
'operator/' cannot be variadic}}
29
X operator%(Y); // expected-error{{
overloaded
'operator%' must be a binary operator (has 1 parameter)}}
31
void operator()(Y&, int, int); // expected-error{{
overloaded
'operator()' must be a non-static member function}}
37
X operator++(X&, FLOAT); // expected-error{{parameter of
overloaded
post-increment operator must have type 'int' (not 'FLOAT' (aka 'float'))}}
54
static void operator()(int& i) { ++i; } // expected-error{{
overloaded
'operator()' cannot be a static member function}}
overload-decl.cpp
11
int f(int, Float); // expected-error {{functions that differ only in their return type cannot be
overloaded
}}
14
int g(); // expected-error {{functions that differ only in their return type cannot be
overloaded
}}
27
int g(int, Float); // expected-error {{functions that differ only in their return type cannot be
overloaded
}}
30
static void g(int); // expected-error {{static and non-static member functions with the same parameter types cannot be
overloaded
}}
copy-assignment.cpp
73
na += a; // expected-error{{no viable
overloaded
'+='}}
76
nb = constB; // expected-error{{no viable
overloaded
'='}}
77
nb = convertibleToB; // expected-error{{no viable
overloaded
'='}}
79
nb = convertibleToConstB; // expected-error{{no viable
overloaded
'='}}
80
nb = convertibleToConstBref; // expected-error{{no viable
overloaded
'='}}
86
nc = 1.0; // expected-error{{use of
overloaded
operator '=' is ambiguous}}
89
nc += 1.0; // expected-error{{use of
overloaded
operator '+=' is ambiguous}}
overloaded-name.cpp
9
(void)((void)0, ovl); // expected-error{{reference to
overloaded
function could not be resolved; did you mean to call it?}}
11
(void)(b? ovl : &ovl); // expected-error{{reference to
overloaded
function could not be resolved; did you mean to call it?}}
12
(void)(b? ovl<float> : &ovl); // expected-error{{reference to
overloaded
function could not be resolved; did you mean to call it?}}
pass-object-size.cpp
26
int (*C)(void *) = &OvlFoo; //expected-error{{address of
overloaded
function 'OvlFoo' does not match required type 'int (void *)'}} expected-note@6{{candidate address cannot be taken because parameter 1 has pass_object_size attribute}} expected-note@7{{candidate function has different number of parameters (expected 1 but has 2)}}
27
int (*D)(void *) = OvlFoo; //expected-error{{address of
overloaded
function 'OvlFoo' does not match required type 'int (void *)'}} expected-note@6{{candidate address cannot be taken because parameter 1 has pass_object_size attribute}} expected-note@7{{candidate function has different number of parameters (expected 1 but has 2)}}
30
int (*F)(void *) = &Statics::OvlFoo; //expected-error{{address of
overloaded
function 'OvlFoo' does not match required type 'int (void *)'}} expected-note@11{{candidate address cannot be taken because parameter 1 has pass_object_size attribute}} expected-note@13{{candidate function has type mismatch at 1st parameter (expected 'void *' but has 'double *')}}
33
int (*H)(void *) = &Members::OvlFoo; //expected-error{{address of
overloaded
function 'OvlFoo' does not match required type 'int (void *)'}} expected-note@18{{candidate address cannot be taken because parameter 1 has pass_object_size attribute}} expected-note@19{{candidate function has different number of parameters (expected 1 but has 2)}}
41
A = &OvlFoo; //expected-error{{assigning to 'int (*)(void *)' from incompatible type '<
overloaded
function type>'}} expected-note@6{{candidate address cannot be taken because parameter 1 has pass_object_size attribute}} expected-note@7{{candidate function has different number of parameters (expected 1 but has 2)}}
42
A = OvlFoo; //expected-error{{assigning to 'int (*)(void *)' from incompatible type '<
overloaded
function type>'}} expected-note@6{{candidate address cannot be taken because parameter 1 has pass_object_size attribute}} expected-note@7{{candidate function has different number of parameters (expected 1 but has 2)}}
45
A = &Statics::OvlFoo; //expected-error{{assigning to 'int (*)(void *)' from incompatible type '<
overloaded
function type>'}} expected-note@11{{candidate address cannot be taken because parameter 1 has pass_object_size attribute}} expected-note@13{{candidate function has type mismatch at 1st parameter (expected 'void *' but has 'double *')}}
49
M = &Members::OvlFoo; //expected-error-re{{assigning to '{{.*}}' from incompatible type '<
overloaded
function type>'}} expected-note@18{{candidate address cannot be taken because parameter 1 has pass_object_size attribute}} expected-note@19{{candidate function has different number of parameters (expected 1 but has 2)}}
68
int (*A)(void *) = &Foo<void*>; //expected-error{{address of
overloaded
function 'Foo' does not match required type 'int (void *)'}} expected-note@56{{candidate address cannot be taken because parameter 1 has pass_object_size attribute}}
69
int (Bar<int>::*B)(void *) = &Bar<int>::Foo<double>; //expected-error{{address of
overloaded
function 'Foo' does not match required type}} expected-note@62{{candidate address cannot be taken (…)
[
all
...]
addr-of-overloaded-function-casting.cpp
25
{ bool b = static_cast<void (*)(char)>(f); } // expected-error{{address of
overloaded
function}}
63
// The error should be reported when casting
overloaded
function to the
67
FnType a = static_cast<FnType>(f); // expected-error{{address of
overloaded
function}}
68
FnType b = (FnType)(f); // expected-error{{address of
overloaded
function}}
fntype-decl.cpp
17
float f(int) { } // expected-error{{functions that differ only in their return type cannot be
overloaded
}}
/external/clang/test/Sema/
pass-object-size.c
21
#define
overloaded
__attribute__((overloadable))
macro
22
void
Overloaded
(void *p PS(0))
overloaded
; //expected-note{{previous declaration is here}}
23
void
Overloaded
(void *p PS(1))
overloaded
; //expected-error{{conflicting pass_object_size attributes on parameters}}
24
void Overloaded2(void *p PS(1), void *p2 PS(0))
overloaded
; //expected-note{{previous declaration is here}}
25
void Overloaded2(void *p PS(0), void *p2 PS(1))
overloaded
; //expected-error{{conflicting pass_object_size attributes on parameters}}
27
void Overloaded3(void *p PS(0), void *p2)
overloaded
; //expected-note{{previous declaration is here}}
28
void Overloaded3(void *p, void *p2 PS(0))
overloaded
; //expected-error{{conflicting pass_object_size attributes on parameters}}
31
void TakeFnOvl(void (*)(void *))
overloaded
;
[
all
...]
/external/clang/test/CXX/special/class.copy/
p20.cpp
41
(void)sizeof(ImplicitNonConstCopy1() = cincc1); // expected-error{{no viable
overloaded
'='}}
42
(void)sizeof(ImplicitNonConstCopy2() = cincc2); // expected-error{{no viable
overloaded
'='}}
43
(void)sizeof(ImplicitNonConstCopy3() = cincc3); // expected-error{{no viable
overloaded
'='}}
/external/clang/test/CXX/expr/
p3.cpp
3
double operator +(double, double); // expected-error{{
overloaded
'operator+' must have at least one parameter of class or enumeration type}}
/external/clang/test/Parser/
types.c
4
// Test the X can be
overloaded
inside the struct.
/hardware/bsp/intel/peripheral/libupm/src/
IsrCallback.h
11
{ /* empty,
overloaded
in Java*/
/external/clang/include/clang/Basic/
OperatorKinds.h
1
//===--- OperatorKinds.h - C++
Overloaded
Operators -------------*- C++ -*-===//
11
/// \brief Defines an enumeration for C++
overloaded
operators.
20
/// \brief Enumeration specifying the different kinds of C++
overloaded
23
OO_None, ///< Not an
overloaded
operator
30
/// \brief Retrieve the spelling of the given
overloaded
operator, without
/external/clang/test/CXX/over/over.over/
p2.cpp
9
int (*f0c)(int, float) = f0; // expected-error{{address of
overloaded
function 'f0' does not match required type 'int (int, float)'}}
p4.cpp
18
int (*fp0)(int) = f0; // expected-error{{address of
overloaded
function 'f0' is ambiguous}}
/external/clang/test/SemaCUDA/
implicit-copy.cu
29
a = b; // expected-error {{no viable
overloaded
}}
33
a = b; // expected-error {{no viable
overloaded
}}
44
a = b; // expected-error {{no viable
overloaded
}}
47
a = b; // expected-error {{no viable
overloaded
}}
/external/ltrace/testsuite/ltrace.minor/
demangle.h
10
/*
Overloaded
operators */
/external/clang/test/SemaTemplate/
resolve-single-template-id.cpp
32
two; // expected-error {{reference to
overloaded
function could not be resolved; did you mean to call it with no arguments?}}
34
twoT<int>; // expected-error {{reference to
overloaded
function could not be resolved; did you mean to call it?}}
37
sizeof(twoT<int>); //expected-error {{reference to
overloaded
function could not be resolved; did you mean to call it?}}
42
*two; //expected-error {{reference to
overloaded
function could not be resolved; did you mean to call it with no arguments?}} expected-error {{indirection requires pointer operand}}
43
*twoT<int>; //expected-error {{reference to
overloaded
function could not be resolved; did you mean to call it?}}
61
(twoT<int>) == oneT<int>; //expected-error {{reference to
overloaded
function could not be resolved; did you mean to call it?}} {{cannot resolve
overloaded
function 'twoT' from context}}
75
two < two; //expected-error 2 {{reference to
overloaded
function could not be resolved; did you mean to call it with no arguments?}} expected-error {{invalid operands to binary expression ('void' and 'void')}}
76
twoT<int> < twoT<int>; //expected-error {{reference to
overloaded
function could not be resolved; did you mean to call it?}} {{cannot resolve
overloaded
function 'twoT' from context}
[
all
...]
/external/valgrind/massif/tests/
Makefile.am
31
overloaded
-new.post.exp
overloaded
-new.post.exp-mips32 \
32
overloaded
-new.stderr.exp
overloaded
-new.vgtest \
68
overloaded
-new \
80
overloaded_new_SOURCES =
overloaded
-new.cpp
overloaded-new.vgtest
1
prog:
overloaded
-new
/external/clang/test/Modules/
linkage-merge.cpp
10
// expected-error@9 {{functions that differ only in their return type cannot be
overloaded
}}
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/
p1.cpp
13
DefArg &operator=(const DefArg&, int k = 4) = default; // expected-error {{parameter of
overloaded
'operator=' cannot have a default argument}}
14
DefArg &operator=(DefArg&&, int k = 4) = default; // expected-error {{parameter of
overloaded
'operator=' cannot have a default argument}}
Completed in 598 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>