OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:viable
(Results
1 - 25
of
127
) sorted by null
1
2
3
4
5
6
/external/clang/test/SemaCXX/
overload-0x.cpp
4
struct A { // expected-note {{candidate function (the implicit copy assignment operator) not
viable
: 'this' argument has type 'const test0::A', but method is not marked const}} expected-note {{candidate function (the implicit move assignment operator) not
viable
: 'this' argument has type 'const test0::A', but method is not marked const}}
5
A &operator=(void*); // expected-note {{candidate function not
viable
: 'this' argument has type 'const test0::A', but method is not marked const}}
9
a = "help"; // expected-error {{no
viable
overloaded '='}}
address-space-references.cpp
6
void f0(int_1 &); // expected-note{{candidate function not
viable
: 1st argument ('int') is in address space 0, but parameter must be in address space 1}} \
7
// expected-note{{candidate function not
viable
: 1st argument ('int_2' (aka '__attribute__((address_space(2))) int')) is in address space 2, but parameter must be in address space 1}}
8
void f0(const int_1 &); // expected-note{{candidate function not
viable
: 1st argument ('int') is in address space 0, but parameter must be in address space 1}} \
9
// expected-note{{candidate function not
viable
: 1st argument ('int_2' (aka '__attribute__((address_space(2))) int')) is in address space 2, but parameter must be in address space 1}}
copy-initialization.cpp
15
X x4 = fp; // expected-error{{no
viable
conversion}}
26
void test(const foo *P) { P->bar(); } // expected-error{{'bar' not
viable
: 'this' argument has type 'const foo', but function is not marked const}}
31
Foo(Foo&); // expected-note{{candidate constructor not
viable
}}
41
f(Bar()); // expected-error{{no
viable
constructor copying parameter of type 'const PR6757::Foo'}}
explicit.cpp
43
class Y { }; // expected-note {{candidate constructor (the implicit copy constructor) not
viable
: no known conversion from 'Conversion::Z' to 'const Conversion::Y &' for 1st argument}} \
44
expected-note {{candidate constructor (the implicit move constructor) not
viable
: no known conversion from 'Conversion::Z' to 'Conversion::Y &&' for 1st argument}} \
45
expected-note {{candidate constructor (the implicit copy constructor) not
viable
: no known conversion from 'Conversion::Z' to 'const Conversion::Y &' for 1st argument}} \
46
expected-note {{candidate constructor (the implicit move constructor) not
viable
: no known conversion from 'Conversion::Z' to 'Conversion::Y' for 1st argument}} \
47
expected-note {{candidate constructor (the implicit copy constructor) not
viable
: no known conversion from 'Conversion::Z' to 'const Conversion::Y' for 1st argument}} \
48
expected-note {{candidate constructor (the implicit move constructor) not
viable
: no known conversion from 'Conversion::Z' to 'Conversion::Y' for 1st argument}} \
49
expected-note {{candidate constructor (the implicit default constructor) not
viable
: requires 0 arguments, but 1 was provided}} \
50
expected-note {{candidate constructor (the implicit copy constructor) not
viable
: no known conversion from 'Conversion::Z' to 'const Conversion::Y' for 1st argument}} \
51
expected-note {{candidate constructor (the implicit move constructor) not
viable
: no known conversion from 'Conversion::Z' to 'Conversion::Y' for 1st argument}} \
52
expected-note {{candidate constructor (the implicit default constructor) not
viable
: requires 0 arguments, but 1 was provided}}
[
all
...]
cast-conversion.cpp
11
struct B { // expected-note 3 {{candidate constructor (the implicit copy constructor) not
viable
}} \
12
expected-note 3 {{candidate constructor (the implicit move constructor) not
viable
}}
13
B(A); // expected-note 3 {{candidate constructor not
viable
}}
default1.cpp
17
void i(int = s) { } // expected-error {{no
viable
conversion}} \
30
void k(Y y = 17); // expected-error{{no
viable
conversion}} \
33
void kk(Y = 17); // expected-error{{no
viable
conversion}} \
for-range-no-std.cpp
13
int begin(Range); // expected-note {{not
viable
}}
23
iter begin(ADL); // expected-note {{not
viable
}}
28
NS::iter begin(NS::NoADL); // expected-note {{not
viable
}}
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 '='}}
cxx0x-cursory-default-delete.cpp
10
non_const_copy(non_const_copy&) = default; // expected-note {{not
viable
}}
11
non_const_copy& operator = (non_const_copy&) & = default; // expected-note {{not
viable
}}
12
non_const_copy& operator = (non_const_copy&) && = default; // expected-note {{not
viable
}}
13
non_const_copy() = default; // expected-note {{not
viable
}}
26
ncc = cncc; // expected-error {{no
viable
overloaded}}
overload-member-call.cpp
73
template <class T> void foo(T t, unsigned N); // expected-note {{candidate function [with T = int] not
viable
: no known conversion from 'const char [6]' to 'unsigned int' for 2nd argument}}
74
void foo(int n, char N); // expected-note {{candidate function not
viable
: no known conversion from 'const char [6]' to 'char' for 2nd argument}}
75
void foo(int n); // expected-note {{candidate function not
viable
: requires 1 argument, but 2 were provided}}
76
void foo(unsigned n = 10); // expected-note {{candidate function not
viable
: requires at most 1 argument, but 2 were provided}}
77
void foo(int n, const char *s, int t); // expected-note {{candidate function not
viable
: requires 3 arguments, but 2 were provided}}
78
void foo(int n, const char *s, int t, ...); // expected-note {{candidate function not
viable
: requires at least 3 arguments, but 2 were provided}}
79
void foo(int n, const char *s, int t, int u = 0); // expected-note {{candidate function not
viable
: requires at least 3 arguments, but 2 were provided}}
81
void bar(double d); //expected-note {{candidate function not
viable
: 'this' argument has type 'const test1::A', but method is not marked const}}
82
void bar(int i); //expected-note {{candidate function not
viable
: 'this' argument has type 'const test1::A', but method is not marked const}}
84
void baz(A &d); // expected-note {{candidate function not
viable
: 1st argument ('const test1::A') would lose const qualifier}
[
all
...]
convert-to-bool.cpp
47
bool b2 = ecb; // expected-error{{no
viable
conversion from 'ExplicitConvToBool' to 'bool'}}
64
A &a = c; // expected-error{{no
viable
conversion from 'C' to 'A'}}
/external/clang/test/SemaCUDA/
function-target.cu
6
__device__ void h1d(void); // expected-note {{candidate function not
viable
: call to __device__ function from __host__ function}}
11
__device__ h1ds(); // expected-note {{candidate constructor not
viable
: call to __device__ function from __host__ function}}
22
__host__ void d1h(void); // expected-note {{candidate function not
viable
: call to __host__ function from __device__ function}}
34
__host__ void hd1h(void); // expected-note {{candidate function not
viable
: call to __host__ function from __host__ __device__ function}}
35
__device__ void hd1d(void); // expected-note {{candidate function not
viable
: call to __device__ function from __host__ __device__ function}}
/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 '='}}
implicit-move.cpp
109
ContainsConst & operator =(ContainsConst &); // expected-note {{not
viable
}}
115
ContainsRef & operator =(ContainsRef &); // expected-note {{not
viable
}}
121
struct DirectVirtualBase : virtual Base {}; // expected-note {{copy assignment operator) not
viable
}}
122
struct IndirectVirtualBase : DirectVirtualBase {}; // expected-note {{copy assignment operator) not
viable
}}
145
cc = ContainsConst(); // expected-error {{no
viable
}}
148
cr = ContainsRef(); // expected-error {{no
viable
}}
151
dvb = DirectVirtualBase(); // expected-error {{no
viable
}}
154
ivb = IndirectVirtualBase(); // expected-error {{no
viable
}}
/external/clang/test/CXX/over/over.match/over.match.best/over.best.ics/over.ics.user/
p3-0x.cpp
12
int f() { return D(); } // expected-error{{no
viable
conversion}}
/external/clang/test/SemaTemplate/
qualified-names-diag.cpp
15
v1 = v2; // expected-error{{no
viable
overloaded '='}}
fun-template-def.cpp
42
dummy d1 = sizeof(t1); // expected-error {{no
viable
conversion}}
43
dummy d2 = offsetof(T, foo); // expected-error {{no
viable
conversion}}
44
dummy d3 = __alignof(u1); // expected-error {{no
viable
conversion}}
/external/clang/test/CXX/special/class.inhctor/
p3.cpp
22
D2 fd2() { return 1; } // expected-error {{no
viable
conversion}}
30
D3 fd3() { return 1; } // expected-error {{no
viable
conversion}}
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.static/
p1-inst.cpp
11
T X<T>::value = 17; // expected-error{{no
viable
conversion}}
17
struct CannotInit { }; // expected-note{{candidate constructor (the implicit copy constructor) not
viable
}}
p1.cpp
9
T X0<T>::value = 0; // expected-error{{no
viable
conversion}}
15
struct X2 { }; // expected-note{{candidate constructor (the implicit copy constructor) not
viable
}}
/external/clang/test/SemaObjCXX/
gc-attributes.mm
6
void f0(__strong A**); // expected-note{{candidate function not
viable
: 1st argument ('A *__weak *') has __weak ownership, but parameter has __strong ownership}}
15
void f1(__weak A**); // expected-note{{candidate function not
viable
: 1st argument ('A *__strong *') has __strong ownership, but parameter has __weak ownership}}
/external/clang/test/Misc/
error-limit-multiple-notes.cpp
18
// CHECK: 6:6: note: candidate function not
viable
: requires 2 arguments, but 0 were provided
19
// CHECK: 5:6: note: candidate function not
viable
: requires 1 argument, but 0 were provided
20
// CHECK: 4:6: note: candidate function not
viable
: requires 1 argument, but 0 were provided
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/
p4.cpp
22
class C {}; // expected-note {{candidate constructor (the implicit copy constructor) not
viable
: no known conversion from 'B::B' to 'const C::C &' for 1st argument}}
42
// expected-error {{no
viable
conversion from 'B::B' to 'C::C'}}
54
template <class U> friend void foo(A &, U); // expected-note {{not
viable
: 1st argument ('const A<int>') would lose const qualifier}}
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
p3-0x.cpp
26
template<typename T> X<T> f1(const T&&); // expected-note{{candidate function [with T = int] not
viable
: no known conversion from 'int' to 'const int &&' for 1st argument}} \
27
// expected-note{{candidate function [with T = Y] not
viable
: no known conversion from 'Y' to 'const Y &&' for 1st argument}}
40
template <class T> int g(const T&&); // expected-note{{candidate function [with T = int] not
viable
: no known conversion from 'int' to 'const int &&' for 1st argument}}
/external/clang/test/CXX/temp/temp.param/
p3.cpp
18
class T { /* ... */ }; // expected-note{{candidate constructor (the implicit copy constructor) not
viable
}}
26
// expected-error{{no
viable
conversion}}
Completed in 320 milliseconds
1
2
3
4
5
6