OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:conversion
(Results
51 - 75
of
5051
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/Sema/
sign-conversion.c
1
// RUN: %clang_cc1 -fsyntax-only -verify -Wsign-
conversion
%s
6
unsigned t0 = x; // expected-warning {{implicit
conversion
changes signedness}}
conversion.c
5
#include <
conversion
.h>
11
c = s; // expected-warning {{implicit
conversion
loses integer precision}}
12
c = i; // expected-warning {{implicit
conversion
loses integer precision}}
13
c = l; // expected-warning {{implicit
conversion
loses integer precision}}
16
s = i; // expected-warning {{implicit
conversion
loses integer precision}}
17
s = l; // expected-warning {{implicit
conversion
loses integer precision}}
21
i = l; // expected-warning {{implicit
conversion
loses integer precision}}
45
c = (short) BIG; // expected-warning {{implicit
conversion
from 'short' to 'char' changes value}}
46
c = (int) BIG; // expected-warning {{implicit
conversion
from 'int' to 'char' changes value}}
47
c = (long) BIG; // expected-warning {{implicit
conversion
from 'long' to 'char' changes value}
[
all
...]
format-strings-darwin.c
25
// expected-warning@-8 {{'D'
conversion
specifier is not supported by ISO C}} expected-note@-8 {{did you mean to use 'd'?}}
26
// expected-warning@-8 {{'D'
conversion
specifier is not supported by ISO C}} expected-note@-8 {{did you mean to use 'd'?}} expected-warning@-8 {{format specifies type 'int' but the argument has type 'long'}}
27
// expected-warning@-8 {{'U'
conversion
specifier is not supported by ISO C}} expected-note@-8 {{did you mean to use 'u'?}}
28
// expected-warning@-8 {{'U'
conversion
specifier is not supported by ISO C}} expected-note@-8 {{did you mean to use 'u'?}} expected-warning@-8 {{format specifies type 'unsigned int' but the argument has type 'long'}}
29
// expected-warning@-8 {{'O'
conversion
specifier is not supported by ISO C}} expected-note@-8 {{did you mean to use 'o'?}}
30
// expected-warning@-8 {{'O'
conversion
specifier is not supported by ISO C}} expected-note@-8 {{did you mean to use 'o'?}} expected-warning@-8 {{format specifies type 'unsigned int' but the argument has type 'long'}}
32
// expected-warning@-15 {{invalid
conversion
specifier 'D'}}
33
// expected-warning@-15 {{invalid
conversion
specifier 'D'}}
34
// expected-warning@-15 {{invalid
conversion
specifier 'U'}}
35
// expected-warning@-15 {{invalid
conversion
specifier 'U'}
[
all
...]
vector-cast.c
1
// RUN: %clang_cc1 -fsyntax-only %s -verify -Wvector-
conversion
13
v2 = (t2)v1; // expected-error {{invalid
conversion
between vector type \
15
v1 = (t1)v2; // expected-error {{invalid
conversion
between vector type \
19
v1 = (t1)(char *)10; // expected-error {{invalid
conversion
between vector \
22
v1 = (t1)(short)10; // expected-error {{invalid
conversion
between vector \
26
short r2 = (short)v1; // expected-error {{invalid
conversion
between vector \
28
char *r3 = (char *)v1; // expected-error {{invalid
conversion
between vector\
/external/clang/test/SemaCXX/
switch-0x.cpp
5
explicit operator int(); // expected-note{{
conversion
to integral type}}
9
switch(A()) { // expected-error{{explicit
conversion
to}}
warn-string-conversion.cpp
1
// RUN: %clang_cc1 -fsyntax-only -Wstring-
conversion
-verify %s
7
bool b0 = "hi"; // expected-warning{{implicit
conversion
turns string literal into bool: 'const char [3]' to 'bool'}}
8
b0 = ""; // expected-warning{{implicit
conversion
turns string literal into bool: 'const char [1]' to 'bool'}}
10
assert("error"); // expected-warning{{implicit
conversion
turns string literal into bool: 'const char [6]' to 'bool'}}
13
while("hi") {} // expected-warning{{implicit
conversion
turns string literal into bool: 'const char [3]' to 'bool'}}
14
do {} while("hi"); // expected-warning{{implicit
conversion
turns string literal into bool: 'const char [3]' to 'bool'}}
15
for (;"hi";); // expected-warning{{implicit
conversion
turns string literal into bool: 'const char [3]' to 'bool'}}
16
if("hi") {} // expected-warning{{implicit
conversion
turns string literal into bool: 'const char [3]' to 'bool'}}
warn-implicit-conversion-floating-point-to-bool.cpp
17
b = foof(c < 1); // expected-warning {{implicit
conversion
turns floating-point number into bool: 'float' to 'bool'}}
19
b = food(e < 2); // expected-warning {{implicit
conversion
turns floating-point number into bool: 'double' to 'bool'}}
21
foo(c, b); // expected-warning {{implicit
conversion
turns floating-point number into bool: 'float' to 'bool'}}
/external/clang/test/SemaObjCXX/
conversion-ranking.mm
21
//
conversion
of C* to B* is better than
conversion
of C* to A*.
29
//
conversion
of B* to A* is better than
conversion
of C* to A*
46
// A
conversion
to an a non-id object pointer type is better than a
47
//
conversion
to 'id'.
55
// A
conversion
to an a non-Class object pointer type is better than a
56
//
conversion
to 'Class'.
83
// A
conversion
to an a non-id object pointer type is better than a
84
//
conversion
to qualified 'id'
[
all
...]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/
p6.cpp
7
explicit operator int(); // expected-warning {{explicit
conversion
functions are a C++11 extension}}
9
explicit void f0(); // expected-error {{'explicit' can only be applied to a constructor or
conversion
function}}
15
explicit A::operator bool() { return false; } // expected-warning {{explicit
conversion
functions are a C++11 extension}}\
/external/clang/include/clang/Sema/
Overload.h
55
/// ImplicitConversionKind - The kind of implicit
conversion
used to
58
/// better
conversion
kinds have smaller values.
60
ICK_Identity = 0, ///< Identity
conversion
(no
conversion
)
61
ICK_Lvalue_To_Rvalue, ///< Lvalue-to-rvalue
conversion
(C++ 4.1)
62
ICK_Array_To_Pointer, ///< Array-to-pointer
conversion
(C++ 4.2)
83
ICK_Writeback_Conversion, ///< Objective-C ARC writeback
conversion
85
ICK_Num_Conversion_Kinds ///< The number of
conversion
kinds
89
///
conversion
kind. The enumerator values match with Table 9 of
90
/// (C++ 13.3.3.1.1) and are listed such that better
conversion
[
all
...]
/dalvik/dx/tests/113-old-style-inner-class/
info.txt
1
This is a smoke test of dex
conversion
, which makes sure that
/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
}}
21
l(17); // okay: uses
conversion
function
/external/clang/test/Sema/Inputs/
conversion.h
1
/* Fake system header for Sema/
conversion
.c */
/dalvik/dx/tests/051-dex-explicit-null/
info.txt
1
This is a smoke test of dex
conversion
, which checks to see that
7
aspects of
conversion
end up altering the output in innocuous ways.
/dalvik/dx/tests/063-dex-empty-switch/
info.txt
1
This is a smoke test of dex
conversion
, which checks to see that
7
aspects of
conversion
end up altering the output in innocuous ways.
/dalvik/dx/tests/067-dex-switch-and-try/
info.txt
1
This is a smoke test of dex
conversion
, which looks at a couple cases of
7
aspects of
conversion
end up altering the output in innocuous ways.
/dalvik/dx/tests/071-dex-java-stack-ops/
info.txt
1
This is a smoke test of dex
conversion
, which checks to see that at
7
aspects of
conversion
end up altering the output in innocuous ways.
/dalvik/dx/tests/073-dex-null-array-refs/
info.txt
1
This is a smoke test of dex
conversion
, which checks to see that
7
aspects of
conversion
end up altering the output in innocuous ways.
/dalvik/dx/tests/075-dex-cat2-value-merge/
info.txt
1
This is a smoke test of dex
conversion
, which checks to see that
7
aspects of
conversion
end up altering the output in innocuous ways.
/dalvik/dx/tests/079-dex-local-variable-renumbering/
info.txt
1
This is a smoke test of dex
conversion
, which checks to make sure that
7
aspects of
conversion
end up altering the output in innocuous ways.
/dalvik/dx/tests/080-dex-exception-tables/
info.txt
1
This is a smoke test of dex
conversion
, which checks to make sure that
8
aspects of
conversion
end up altering the output in innocuous ways.
/dalvik/dx/tests/081-dex-throws-list/
info.txt
1
This is a smoke test of dex
conversion
, which checks to make sure that
7
aspects of
conversion
end up altering the output in innocuous ways.
/dalvik/dx/tests/082-dex-throws-list-sharing/
info.txt
1
This is a smoke test of dex
conversion
, which checks to make sure that
7
aspects of
conversion
end up altering the output in innocuous ways.
/dalvik/dx/tests/084-dex-high-register-moves/
info.txt
1
This is a smoke test of dex
conversion
, which checks to make sure that
7
aspects of
conversion
end up altering the output in innocuous ways.
/dalvik/dx/tests/087-ssa-local-vars/
info.txt
1
This is a test case to ensure proper preservation of local variable information through the register renamer and dead code remover at the beginning of the SSA
conversion
.
5
aspects of
conversion
end up altering the output in innocuous ways.
Completed in 878 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>