OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:warning
(Results
1201 - 1225
of
21668
) sorted by null
<<
41
42
43
44
45
46
47
48
49
50
>>
/external/clang/test/SemaObjC/
method-undefined-warn-1.m
11
@implementation INTF // expected-
warning
{{method definition for 'int_meth' not found}} \
12
// expected-
warning
{{method definition for 'cls_meth' not found}} \
13
// expected-
warning
{{method definition for 'cls_meth1:' not found}}
27
@implementation INTF1 // expected-
warning
{{method definition for 'int_meth' not found}} \
28
// expected-
warning
{{method definition for 'cls_meth' not found}} \
29
// expected-
warning
{{method definition for 'cls_meth1:' not found}}
58
[self someFunction]; // expected-
warning
{{method '+someFunction' not found (return type defaults to 'id')}}
format-strings-objc.m
49
NSLog(@"%d%%", k); // no-
warning
50
NSLog(@"%s%lb%d", "unix", 10,20); // expected-
warning
{{invalid conversion specifier 'b'}}
60
printf("%i ",test); // expected-
warning
{{format specifies type 'int' but the argument has type 'long long'}}
61
NSLog(@"%i ",test); // expected-
warning
{{format specifies type 'int' but the argument has type 'long long'}}
62
CFStringCreateWithFormat(CFSTR("%i"),test); // expected-
warning
{{format specifies type 'int' but the argument has type 'long long'}}
67
NSLog(@"%@!"); // expected-
warning
{{more '%' conversions than data arguments}}
73
printf("%p", x); // no-
warning
74
printf("%p", y); // no-
warning
82
MyNSLog(@"%@"); // expected-
warning
{{more '%' conversions than data arguments}}
83
MyCFStringCreateWithFormat(CFSTR("%@")); // expected-
warning
{{more '%' conversions than data arguments}
[
all
...]
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/linux/usb/
f_accessory.h
23
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
/hardware/qcom/msm8960/kernel-headers/linux/mfd/wcd9xxx/
wcd9xxx_registers.h
23
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
/hardware/qcom/msm8960/kernel-headers/linux/
msm_adsp.h
23
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
msm_rmnet.h
23
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
/hardware/qcom/msm8994/kernel-headers/linux/mmc/
ioctl.h
23
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
/hardware/qcom/msm8994/kernel-headers/linux/
msm_adsp.h
23
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
/hardware/qcom/msm8996/kernel-headers/linux/mmc/
ioctl.h
23
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
/hardware/qcom/msm8996/kernel-headers/linux/
msm_adsp.h
23
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
v4l2-common.h
23
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
/hardware/qcom/msm8998/kernel-headers/linux/
msm_adsp.h
23
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
/hardware/qcom/msm8x84/kernel-headers/linux/
msm_adsp.h
23
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
/external/clang/test/Sema/
exprs.c
19
0 / (0 ? 1 : 0); // expected-
warning
{{expression result unused}}
24
PR8876(0); // no-
warning
25
PR8876_pos(0); // expected-
warning
{{indirection of non-volatile null pointer will be deleted, not trap}} expected-note{{consider using __builtin_trap() or qualifying pointer with 'volatile'}}
33
(void)((((void*)0)) && (*((unsigned long long*)(((void*)0))) = ((unsigned long long)((test)) % (unsigned long long)((1000000000))))); // no-
warning
34
(*((unsigned long long*)(((void*)0))) = ((unsigned long long)((test)) % (unsigned long long)((1000000000)))); // expected-
warning
{{indirection of non-volatile null pointer will be deleted, not trap}} expected-note {{consider using __builtin_trap() or qualifying pointer with 'volatile'}}
43
return 1.0if; // expected-
warning
{{imaginary constants are a GNU extension}}
55
var =+ 5; // expected-
warning
{{use of unary operator that may be intended as compound assignment (+=)}}
56
var =- 5; // expected-
warning
{{use of unary operator that may be intended as compound assignment (-=)}}
57
var = +5; // no
warning
when space between the = and +.
60
var =+5; // no
warning
when the subexpr of the unary op has no space before it
[
all
...]
dllexport.c
7
__declspec(dllexport) typedef int typedef1; // expected-
warning
{{'dllexport' attribute only applies to variables and functions}}
8
typedef __declspec(dllexport) int typedef2; // expected-
warning
{{'dllexport' attribute only applies to variables and functions}}
9
typedef int __declspec(dllexport) typedef3; // expected-
warning
{{'dllexport' attribute only applies to variables and functions}}
10
typedef __declspec(dllexport) void (*FunTy)(); // expected-
warning
{{'dllexport' attribute only applies to variables and functions}}
11
enum __declspec(dllexport) Enum { EnumVal }; // expected-
warning
{{'dllexport' attribute only applies to variables and functions}}
12
struct __declspec(dllexport) Record {}; // expected-
warning
{{'dllexport' attribute only applies to variables and functions}}
46
__declspec(dllexport) extern int GlobalRedecl4; // expected-
warning
{{redeclaration of 'GlobalRedecl4' should not add 'dllexport' attribute}}
104
// Allow with a
warning
if the decl hasn't been used yet.
106
__declspec(dllexport) void redecl6(); // expected-
warning
{{redeclaration of 'redecl6' should not add 'dllexport' attribute}}
124
__attribute__((dllimport, dllexport)) extern int PrecedenceExternGlobal1A; // expected-
warning
{{'dllimport' attribute ignored}
[
all
...]
warn-documentation.m
5
// expected-
warning
@+1 {{empty paragraph passed to '\brief' command}}
8
// expected-
warning
@+2 {{empty paragraph passed to '\brief' command}}
16
// expected-
warning
@+2 {{parameter 'aab' not found in the function declaration}} expected-note@+2 {{did you mean 'aaa'?}}
22
// expected-
warning
@+1 {{empty paragraph passed to '\brief' command}}
26
// expected-
warning
@+1 {{empty paragraph passed to '\brief' command}}
31
// expected-
warning
@+1 {{empty paragraph passed to '\brief' command}}
36
// expected-
warning
@+1 {{empty paragraph passed to '\brief' command}}
50
// expected-
warning
@+1 {{empty paragraph passed to '\brief' command}}
55
// expected-
warning
@+1 {{empty paragraph passed to '\brief' command}}
58
// expected-
warning
@+1 {{empty paragraph passed to '\brief' command}
[
all
...]
vector-assign.c
15
v1 = v2; // expected-
warning
{{incompatible vector types assigning to 'v2s' (vector of 2 'int' values) from 'v2u' (vector of 2 'unsigned int' values)}}
17
v1 = v4; // expected-
warning
{{incompatible vector types assigning to 'v2s' (vector of 2 'int' values) from 'v2f' (vector of 2 'float' values)}}
18
v1 = v5; // expected-
warning
{{incompatible vector types assigning to 'v2s' (vector of 2 'int' values) from 'v4ss' (vector of 4 'short' values)}}
20
v2 = v1; // expected-
warning
{{incompatible vector types assigning to 'v2u' (vector of 2 'unsigned int' values) from 'v2s' (vector of 2 'int' values)}}
22
v2 = v4; // expected-
warning
{{incompatible vector types assigning to 'v2u' (vector of 2 'unsigned int' values) from 'v2f' (vector of 2 'float' values)}}
23
v2 = v5; // expected-
warning
{{incompatible vector types assigning to 'v2u' (vector of 2 'unsigned int' values) from 'v4ss' (vector of 4 'short' values)}}
30
v4 = v1; // expected-
warning
{{incompatible vector types assigning to 'v2f' (vector of 2 'float' values) from 'v2s' (vector of 2 'int' values)}}
31
v4 = v2; // expected-
warning
{{incompatible vector types assigning to 'v2f' (vector of 2 'float' values) from 'v2u' (vector of 2 'unsigned int' values)}}
33
v4 = v5; // expected-
warning
{{incompatible vector types assigning to 'v2f' (vector of 2 'float' values) from 'v4ss' (vector of 4 'short' values)}}
35
v5 = v1; // expected-
warning
{{incompatible vector types assigning to 'v4ss' (vector of 4 'short' values) from 'v2s' (vector of (…)
[
all
...]
warn-strncat-size.c
30
strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest) - 1); // no-
warning
31
strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - 1); // no-
warning
- the code might assume that dest is empty
33
strncat(dest, src, sizeof(src)); // expected-
warning
{{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}}
35
strncat(dest, src, sizeof(src) - 1); // expected-
warning
{{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}}
37
strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest)); // expected-
warning
{{the value of the size argument in 'strncat' is too large, might lead to a buffer overflow}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}}
39
strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest)); // expected-
warning
{{the value of the size argument in 'strncat' is too large, might lead to a buffer overflow}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}}
41
strncat((*s5)->f2[x], s2, sizeof(s2)); // expected-
warning
{{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}}
42
strncat(s1+3, s2, sizeof(s2)); // expected-
warning
{{size argument in 'strncat' call appears to be size of the source}}
43
strncat(s4.f1, s2, sizeof(s2)); // expected-
warning
{{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}}
54
strncat(s->x, str, sizeof(str)); // expected-
warning
{{size argument in 'strncat' call appears to be size of the source}
[
all
...]
warn-thread-safety-analysis.c
77
Foo_fun1(1); // expected-
warning
{{calling function 'Foo_fun1' requires holding mutex 'mu2'}} \
78
expected-
warning
{{calling function 'Foo_fun1' requires holding mutex 'mu1' exclusively}}
84
mutex_shared_lock(&mu1); // expected-
warning
{{acquiring mutex 'mu1' that is already held}} \
85
expected-
warning
{{mutex 'mu1' must be acquired before 'mu2'}}
99
Foo_func3(4); // expected-
warning
{{cannot call function 'Foo_func3' while mutex 'mu1' is held}}
104
set_value(&a_, 0); // expected-
warning
{{calling function 'set_value' requires holding mutex 'foo_.mu_' exclusively}}
105
get_value(b_); // expected-
warning
{{calling function 'get_value' requires holding mutex 'foo_.mu_'}}
113
c_ = 0; // expected-
warning
{{writing variable 'c_' requires holding any mutex exclusively}}
114
(void)(*d_ == 0); // expected-
warning
{{reading the value pointed to by 'd_' requires holding any mutex}}
121
mutex_shared_unlock(&mu1); // expected-
warning
{{releasing mutex 'mu1' using shared access, expected exclusive access}
[
all
...]
/external/clang/test/SemaCXX/
warn-tautological-undefined-compare.cpp
9
// expected-
warning
@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false}}
11
// expected-
warning
@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true}}
19
// expected-
warning
@-1{{'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false}}
21
// expected-
warning
@-1{{'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true}}
27
// expected-
warning
@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false}}
29
// expected-
warning
@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true}}
49
// expected-
warning
@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false}}
51
// expected-
warning
@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false}}
54
// expected-
warning
@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true}}
56
// expected-
warning
@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison ma (…)
[
all
...]
cxx98-compat-pedantic.cpp
10
//
warning
in C++98 mode.
13
#line 32768 // expected-
warning
{{#line number greater than 32767 is incompatible with C++98}}
15
#define VA_MACRO(x, ...) x // expected-
warning
{{variadic macros are incompatible with C++98}}
16
VA_MACRO(,x) // expected-
warning
{{empty macro arguments are incompatible with C++98}}
18
; // expected-
warning
{{extra ';' outside of a function is incompatible with C++98}}
21
Enum_value, // expected-
warning
{{commas at the end of enumerator lists are incompatible with C++98}}
26
template struct InstantiationAfterSpecialization<int>; // expected-
warning
{{explicit instantiation of 'InstantiationAfterSpecialization<int>' that occurs after an explicit specialization is incompatible with C++98}}
29
void (*FnPtr)() = (void(*)())dlsym(); // expected-
warning
{{cast between pointer-to-function and pointer-to-object is incompatible with C++98}}
30
void *FnVoidPtr = (void*)&dlsym; // expected-
warning
{{cast between pointer-to-function and pointer-to-object is incompatible with C++98}}
37
// expected-
warning
@-2 {{implicit conversion from array size expression of type 'ConvertToInt' to integral type 'size_ (…)
[
all
...]
nullability.cpp
18
// Nullability can move into member pointers (this is suppressing a
warning
).
57
accepts_nonnull_1(0); // expected-
warning
{{null passed to a callee that requires a non-null argument}}
58
accepts_nonnull_2(0); // expected-
warning
{{null passed to a callee that requires a non-null argument}}
59
(x->*accepts_nonnull_3)(0); // expected-
warning
{{null passed to a callee that requires a non-null argument}}
60
accepts_nonnull_4(0); // expected-
warning
{{null passed to a callee that requires a non-null argument}}
61
accepts_nonnull_5(0); // expected-
warning
{{null passed to a callee that requires a non-null argument}}
66
FP(0); // expected-
warning
{{null passed to a callee that requires a non-null argument}}
75
void *_Nonnull p(nullable); // expected-
warning
{{implicit conversion from nullable pointer 'void * _Nullable' to non-nullable pointer type 'void * _Nonnull'}}
76
void *_Nonnull p2{nullable}; // expected-
warning
{{implicit conversion from nullable pointer 'void * _Nullable' to non-nullable pointer type 'void * _Nonnull'}}
77
void *_Nonnull p3 = {nullable}; // expected-
warning
{{implicit conversion from nullable pointer 'void * _Nullable' to non-nullable pointer type 'void * (…)
[
all
...]
return.cpp
26
const int scalar_c(); // expected-
warning
{{'const' type qualifier on return type has no effect}}
27
int const scalar_c2(); // expected-
warning
{{'const' type qualifier on return type has no effect}}
31
const // expected-
warning
{{'const' type qualifier on return type has no effect}}
36
const // expected-
warning
{{'const' type qualifier on return type has no effect}}
39
char* const h(); // expected-
warning
{{'const' type qualifier on return type has no effect}}
40
char* volatile i(); // expected-
warning
{{'volatile' type qualifier on return type has no effect}}
43
volatile // expected-
warning
{{'const volatile' type qualifiers on return type have no effect}}
47
const volatile int scalar_cv(); // expected-
warning
{{'const volatile' type qualifiers on return type have no effect}}
53
mixed_ret(); // expected-
warning
{{'volatile' type qualifier on return type has no effect}}
55
const int volatile // expected-
warning
{{'const volatile' type qualifiers on return type have no effect}
[
all
...]
/hardware/qcom/msm8996/kernel-headers/linux/mfd/wcd9xxx/
wcd9xxx_registers.h
23
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
58
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
63
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
68
/*
WARNING
: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS *
[
all
...]
/external/clang/test/Analysis/
uninit-const.cpp
28
doStuff_uninit(ptr); // no
warning
39
doStuff_uninit(ptr); // no
warning
?
46
doStuff6(m); // no
warning
56
int p = f6_1_sub(t); //expected-
warning
{{Assigned value is garbage or undefined}}
69
doStuff6(q); //expected-
warning
{{Function call argument is an uninitialized value}}
81
doStuff6_3(q,ptr); //expected-
warning
{{Function call argument is an uninitialized value}}
88
doStuff6(k); // expected-
warning
{{Function call argument is an uninitialized value}}
98
doStuff_uninit(tp); // expected-
warning
{{Function call argument is a pointer to uninitialized value}}
105
doStuff4(y); // expected-
warning
{{Function call argument is an uninitialized value}}
111
doStuff3(g); // no
warning
[
all
...]
Completed in 843 milliseconds
<<
41
42
43
44
45
46
47
48
49
50
>>