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
278
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/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/SemaCXX/
cxx1y-contextual-conversion-tweaks.cpp
50
operator int(); // matching and
viable
54
operator int() &&; // matching and not
viable
75
operator int() &&; // matching but not
viable
105
struct A1 { // leads to
viable
match in C++1y, and no
viable
match in C++11
106
operator int() &&; // matching but not
viable
107
template <typename T> operator T(); // In C++1y: matching and
viable
, since disambiguated by L.100
110
struct A2 { // leads to ambiguity in C++1y, and no
viable
match in C++11
111
operator int() &&; // matching but not
viable
115
struct B1 { // leads to one
viable
match in both case
[
all
...]
conversion-incomplete-type.cpp
12
expectStringPiece(s); // expected-error {{no
viable
conversion from 'const string' to incomplete type 'const StringPiece'}}
20
expectStringPiece(s); // expected-error {{no
viable
conversion from 'const string' to incomplete type 'const StringPiece'}}
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}}
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, const char *s, int t); // expected-note {{candidate function not
viable
: requires 3 arguments, but 2 were provided}}
76
void foo(int n, const char *s, int t, ...); // expected-note {{candidate function not
viable
: requires at least 3 arguments, but 2 were provided}}
77
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}}
79
void bar(double d); //expected-note {{candidate function not
viable
: 'this' argument has type 'const test1::A', but method is not marked const}}
80
void bar(int i); //expected-note {{candidate function not
viable
: 'this' argument has type 'const test1::A', but method is not marked const}}
82
void baz(A &d); // expected-note {{candidate function not
viable
: 1st argument ('const test1::A') would lose const qualifier}}
83
void baz(int i); // expected-note {{candidate function not
viable
: no known conversion from 'const test1::A' to 'int' for 1st argument}}
86
void foo(int n); // expected-note {{candidate function not
viable
: requires single argument 'n', but 2 arguments were provided}
[
all
...]
for-range-dereference.cpp
20
expected-note 5 {{candidate function not
viable
: no known conversion}}
30
Data * begin(ADLNoEnd); // expected-note 6 {{candidate function not
viable
: no known conversion}}
50
for (auto i : pNB) { }// expected-error{{invalid range expression of type 'NoBegin *'; no
viable
'begin' function available}}
52
for (auto i : ppNB) { }// expected-error{{invalid range expression of type 'NoBegin **'; no
viable
'begin' function available}}
54
for (auto i : pppppNB) { }// expected-error{{invalid range expression of type 'NoBegin *****'; no
viable
'begin' function available}}
57
for (auto i : ANE) { } // expected-error{{invalid range expression of type 'ADLNoEnd'; no
viable
'end' function available}}
59
for (auto i : pANE) { } // expected-error{{invalid range expression of type 'ADLNoEnd *'; no
viable
'begin' function available}}
66
for (auto i : pDE) { } // expected-error {{invalid range expression of type 'DeletedEnd *'; no
viable
'begin' function available}}
87
// expected-error@-1 {{no
viable
conversion from 'Data' to 'Data *'}}
explicit.cpp
30
B b0 = 0; // expected-error {{no
viable
conversion}}
70
Y y2 = z; // expected-error {{no
viable
conversion from 'Z' to 'Y'}}
81
const Y& y6 = z; // expected-error {{no
viable
conversion from 'Z' to 'const Y'}}
82
const int& y7 = z; // expected-error {{no
viable
conversion from 'Z' to 'const int'}}
89
const Y& y11{z}; // expected-error {{no
viable
conversion from 'Z' to 'const Y'}}
160
int direct4(n); // expected-error {{no
viable
conversion}}
164
const int &direct8(n); // expected-error {{no
viable
conversion}}
168
int directList4{n}; // expected-error {{no
viable
conversion}}
172
const int &directList8{n}; // expected-error {{no
viable
conversion}}
174
bool copy2 = n; // expected-error {{no
viable
conversion}
[
all
...]
calling-conv-compat.cpp
14
// expected-note@+4 {{candidate function not
viable
: no known conversion from 'void () __attribute__((stdcall))' to 'fptr_default' (aka 'void (*)()') for 1st argument}}
15
// expected-note@+3 {{candidate function not
viable
: no known conversion from 'void () __attribute__((fastcall))' to 'fptr_default' (aka 'void (*)()') for 1st argument}}
16
// expected-note@+2 {{candidate function not
viable
: no known conversion from 'void (*)() __attribute__((stdcall))' to 'fptr_default' (aka 'void (*)()') for 1st argument}}
17
// expected-note@+1 {{candidate function not
viable
: no known conversion from 'void (*)() __attribute__((fastcall))' to 'fptr_default' (aka 'void (*)()') for 1st argument}}
19
// expected-note@+4 {{candidate function not
viable
: no known conversion from 'void () __attribute__((stdcall))' to 'fptr_cdecl' (aka 'void (*)()') for 1st argument}}
20
// expected-note@+3 {{candidate function not
viable
: no known conversion from 'void () __attribute__((fastcall))' to 'fptr_cdecl' (aka 'void (*)()') for 1st argument}}
21
// expected-note@+2 {{candidate function not
viable
: no known conversion from 'void (*)() __attribute__((stdcall))' to 'fptr_cdecl' (aka 'void (*)()') for 1st argument}}
22
// expected-note@+1 {{candidate function not
viable
: no known conversion from 'void (*)() __attribute__((fastcall))' to 'fptr_cdecl' (aka 'void (*)()') for 1st argument}}
24
// expected-note@+3 {{candidate function not
viable
: no known conversion from 'void ()' to 'fptr_stdcall' (aka 'void (*)() __attribute__((stdcall))') for 1st argument}}
25
// expected-note@+2 {{candidate function not
viable
: no known conversion from 'void () __attribute__((cdecl))' to 'fptr_stdcall' (aka 'void (*)() __at (…)
[
all
...]
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'}}
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 '='}}
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p6.cpp
11
void (*fp4)(int) = lambda2; // expected-error{{no
viable
conversion}}
15
int (*fp1)(int) = [=](int x) { return x + 1; }; // expected-error{{no
viable
conversion}}
16
void (*fp2)(int) = [&](int x) { }; // expected-error{{no
viable
conversion}}
/external/clang/test/CXX/over/over.match/over.match.funcs/over.match.copy/
p1.cpp
13
X x3 = y; // expected-error{{no
viable
conversion from 'const ExplicitConv::Y' to 'ExplicitConv::X'}}
32
int i = a; // expected-error{{no
viable
conversion}}
34
C c = a; // expected-error{{no
viable
conversion}}
/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/SemaOpenCL/
event_t_overload.cl
3
void __attribute__((overloadable)) foo(event_t, __local char *); // expected-note {{candidate function not
viable
: no known conversion from '__global int *' to '__local char *' for 2nd argument}}
4
void __attribute__((overloadable)) foo(event_t, __local float *); // expected-note {{candidate function not
viable
: no known conversion from '__global int *' to '__local float *' for 2nd argument}}
/external/clang/test/CXX/basic/basic.scope/basic.scope.hiding/
p2.cpp
38
int a = S(); // expected-error {{no
viable
conversion from 'S'}}
39
struct S c = b; // expected-error {{no
viable
conversion from 'struct S'}}
54
int a = S(); // expected-error {{no
viable
conversion from 'S'}}
55
struct S c = b; // expected-error {{no
viable
conversion from 'struct S'}}
/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/Misc/
error-limit-multiple-notes.cpp
19
// CHECK: 6:6: note: candidate function not
viable
: requires 2 arguments, but 3 were provided
20
// CHECK: 7:6: note: candidate function not
viable
: requires 4 arguments, but 3 were provided
21
// CHECK: 5:6: note: candidate function not
viable
: requires 1 argument, but 3 were provided
22
// CHECK: 4:6: note: candidate function not
viable
: requires 1 argument, but 3 were provided
diag-template-diffing-cxx98.cpp
6
// CHECK: error: no
viable
conversion from 'X<long, [...]>' to 'X<int, [...]>'
14
// CHECK: no
viable
conversion from 'A<[...], (default) x + 1 aka 1>' to 'A<[...], 0>'
16
// CHECK: no
viable
conversion from 'A<0, [...]>' to 'A<1, [...]>'
26
// CHECK: no
viable
conversion from 'A<[...], (default) 1 + 1 aka 2, (default) 2>' to 'A<[...], 0, 0>'
29
// CHECK: no
viable
conversion from 'A<[2 * ...], (default) 2>' to 'A<[2 * ...], 0>'
diag-template-diffing-color.cpp
9
// CHECK: {{.*}}candidate function not
viable
: no known conversion from 'foo<[[CYAN:.\[0;1;36m]]double[[RESET:.\[0m]]>' to 'foo<[[CYAN]]int[[RESET]]>' for 1st argument[[RESET]]
10
// TREE: candidate function not
viable
: no known conversion from argument type to parameter type for 1st argument
27
// CHECK: {{.*}}candidate function not
viable
: no known conversion from 'vector<const vector<[[CYAN]]const{{ ?}}[[RESET]]{{ ?}}int>>' to 'vector<const vector<int>>' for 1st argument
28
// TREE: {{.*}}candidate function not
viable
: no known conversion from argument type to parameter type for 1st argument
37
// CHECK: {{.*}}candidate function not
viable
: no known conversion from 'vector<[[CYAN]]const{{ ?}}[[RESET]]{{ ?}}vector<[...]>>' to 'vector<vector<[...]>>' for 1st argument
38
// TREE: {{.*}}candidate function not
viable
: no known conversion from argument type to parameter type for 1st argument
47
// CHECK: candidate function not
viable
: no known conversion from 'vector<vector<[...]>>' to 'vector<[[CYAN]]const{{ ?}}[[RESET]]{{ ?}}vector<[...]>>' for 1st argument
48
// TREE: candidate function not
viable
: no known conversion from argument type to parameter type for 1st argument
57
// CHECK: candidate function not
viable
: no known conversion from 'vector<[[CYAN]]const{{ ?}}[[RESET]]{{ ?}}vector<[...]>>' to 'vector<[[CYAN]]volatile{{ ?}}[[RESET]]{{ ?}}vector<[...]>>' for 1st argument
59
// TREE: candidate function not
viable
: no known conversion from argument type to parameter type for 1st argumen
[
all
...]
diag-template-diffing.cpp
27
// CHECK-ELIDE-NOTREE: candidate function not
viable
: no known conversion from 'vector<class std::basic_string>' to 'vector<class versa_string>' for 1st argument
29
// CHECK-NOELIDE-NOTREE: candidate function not
viable
: no known conversion from 'vector<class std::basic_string>' to 'vector<class versa_string>' for 1st argument
31
// CHECK-ELIDE-TREE: candidate function not
viable
: no known conversion from argument type to parameter type for 1st argument
35
// CHECK-NOELIDE-TREE: candidate function not
viable
: no known conversion from argument type to parameter type for 1st argument
46
// CHECK-ELIDE-NOTREE: candidate function not
viable
: no known conversion from 'I1<[5 * ...], 2, [2 * ...], 7>' to 'I1<[5 * ...], 3, [2 * ...], (no argument)>' for 1st argument
48
// CHECK-NOELIDE-NOTREE: candidate function not
viable
: no known conversion from 'I1<1, 2, 3, 4, 2, 2, 4, 3, 7>' to 'I1<1, 2, 3, 4, 2, 3, 4, 3, (no argument)>' for 1st argument
50
// CHECK-ELIDE-TREE: candidate function not
viable
: no known conversion from argument type to parameter type for 1st argument
57
// CHECK-NOELIDE-TREE: candidate function not
viable
: no known conversion from argument type to parameter type for 1st argument
76
// CHECK-ELIDE-NOTREE: candidate function not
viable
: no known conversion from 'I2<double, [...], int>' to 'I2<int, [...], (default) void>' for 1st argument
78
// CHECK-NOELIDE-NOTREE: candidate function not
viable
: no known conversion from 'I2<double, int, int>' to 'I2<int, int, (default) void>' for 1st argumen
[
all
...]
/external/clang/test/SemaTemplate/
qualified-names-diag.cpp
15
v1 = v2; // expected-error{{no
viable
overloaded '='}}
/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}}
Completed in 525 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>