OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:warning
(Results
501 - 525
of
21668
) sorted by null
<<
21
22
23
24
25
26
27
28
29
30
>>
/external/clang/test/Lexer/
rdar-8914293.c
6
/* expected-
warning
{{missing terminating}} */ #define FOO "foo
7
/* expected-
warning
{{missing terminating}} */ #define KOO 'k
/external/clang/test/Misc/
serialized-diags-driver.c
3
// both processes, so we compile code that has a
warning
(with an associated
8
// RUN: %clang -Wx-typoed-
warning
-Wall -fsyntax-only --serialize-diagnostics %t.diag %s
11
// CHECK:
warning
: unknown
warning
option '-Wx-typoed-
warning
' [-Wunknown-
warning
-option] []
13
// CHECK:
warning
: variable 'voodoo' is uninitialized when used here [-Wuninitialized]
14
// CHECK: note: initialize the variable 'voodoo' to silence this
warning
[]
/external/clang/test/Preprocessor/
warning_tests.c
6
#if __has_warning("not valid") // expected-
warning
{{__has_warning expected option name}}
9
// expected-
warning
@+2 {{Should have -Wparentheses}}
11
#
warning
Should have -Wparentheses
19
// expected-
warning
@+3 {{Not a valid
warning
flag}}
20
#if __has_warning("-Wnot-a-valid-
warning
-flag-at-all")
22
#
warning
Not a valid
warning
flag
/external/clang/test/Sema/
attr-kernel.c
3
int __attribute__((kernel)) g; // expected-
warning
{{'kernel' attribute only applies to functions}}
5
int __attribute__((kernel)) f1(void) { // expected-
warning
{{'kernel' attribute ignored}}
attr-malloc.c
9
int no_vars __attribute((malloc)); // expected-
warning
{{attribute only applies to functions}}
11
void returns_void (void) __attribute((malloc)); // expected-
warning
{{attribute only applies to return values that are pointers}}
12
int returns_int (void) __attribute((malloc)); // expected-
warning
{{attribute only applies to return values that are pointers}}
13
int * returns_intptr(void) __attribute((malloc)); // no-
warning
15
iptr returns_iptr (void) __attribute((malloc)); // no-
warning
17
__attribute((malloc)) void *(*f)(); // expected-
warning
{{attribute only applies to functions}}
18
__attribute((malloc)) int (*g)(); // expected-
warning
{{attribute only applies to functions}}
21
void * xalloc(unsigned n) { return malloc(n); } // no-
warning
attr-returns-twice.c
3
int a __attribute__((returns_twice)); // expected-
warning
{{'returns_twice' attribute only applies to functions}}
12
typedef void (*t3)(void) __attribute__((returns_twice)); // expected-
warning
{{'returns_twice' attribute only applies to functions}}
callingconv-ms_abi.c
7
void (*pbar)(void) = bar; // expected-
warning
{{incompatible pointer types}}
9
void (__attribute__((sysv_abi)) *pfoo2)(void) = foo; // expected-
warning
{{incompatible pointer types}}
callingconv-sysv_abi.c
4
void (*pfoo)(void) = foo; // expected-
warning
{{incompatible pointer types}}
9
void (__attribute__((ms_abi)) *pbar2)(void) = bar; // expected-
warning
{{incompatible pointer types}}
heinous-extensions-on.c
6
asm("nop" : : "m"((int)(a))); // expected-
warning
{{cast in an inline asm context requiring an l-value}}
8
asm("nop" : "=r"((unsigned)a)); // expected-
warning
{{cast in an inline asm context requiring an l-value}}
mips16_attr_not_allowed.c
3
void __attribute__((nomips16)) foo32(); // expected-
warning
{{unknown attribute 'nomips16' ignored}}
4
void __attribute__((mips16)) foo16(); // expected-
warning
{{unknown attribute 'mips16' ignored}}
missing-field-initializers.c
7
struct Foo foo0 = { 1 }; // expected-
warning
{{missing field 'b' initializer}}
8
struct Foo foo1 = { .a = 1 }; // designator avoids MFI
warning
9
struct Foo foo2 = { .b = 1 }; // designator avoids MFI
warning
13
{ 1 }, // expected-
warning
{{missing field 'b' initializer}}
21
}; // expected-
warning
{{missing field 'b' initializer}}
44
{ { .one = { 1 } } }, // expected-
warning
{{missing field 'b' initializer}}
46
{ { .two = { 1.0f, 2.0f } } } // expected-
warning
{{missing field 'e' initializer}}
51
{ 1 } // expected-
warning
{{missing field 'b' initializer}}
sign-conversion.c
6
unsigned t0 = x; // expected-
warning
{{implicit conversion changes signedness}}
7
unsigned t1 = (t0 == 5 ? x : 0); // expected-
warning
{{operand of ? changes signedness}}
warn-shadow-intrinsics.c
6
// useless -Wshadow
warning
.
9
qf = _mm_slli_si128(_mm_add_epi64(qf, _mm_srli_si128(qf, 8)), 8); // no-
warning
warn-shadow.c
7
int i; // expected-
warning
{{declaration shadows a variable in the global scope}} \
11
int i; // expected-
warning
{{declaration shadows a local variable}} \
15
int i; // expected-
warning
{{declaration shadows a local variable}}
23
void (^test1)(int) = ^(int i) { // expected-
warning
{{declaration shadows a variable in the global scope}} \
26
int i; // expected-
warning
{{declaration shadows a local variable}} \
29
(^(int i) { return i; })(i); //expected-
warning
{{declaration shadows a local variable}}
44
void test4(int i) { // expected-
warning
{{declaration shadows a variable in the global scope}}
60
int bob; // expected-
warning
{{declaration shadows a variable in the global scope}}
warn-unused-label.c
6
b: // expected-
warning
{{unused}}
8
d: __attribute__((noreturn)); // expected-
warning
{{'noreturn' attribute only applies to functions}}
/external/clang/test/SemaCXX/
PR10458.cpp
5
for (auto &i : arr) { // expected-
warning
{{'auto' type specifier is a C++11 extension}} expected-
warning
{{range-based for loop is a C++11 extension}}
attr-declspec-ignored.cpp
4
__attribute__((visibility("hidden"))) __attribute__((aligned)) class A; // expected-
warning
{{attribute 'visibility' is ignored, place it after "class" to apply attribute to type declaration}} \
5
// expected-
warning
{{attribute 'aligned' is ignored, place it after "class" to apply attribute to type declaration}}
6
__attribute__((visibility("hidden"))) __attribute__((aligned)) struct B; // expected-
warning
{{attribute 'visibility' is ignored, place it after "struct" to apply attribute to type declaration}} \
7
// expected-
warning
{{attribute 'aligned' is ignored, place it after "struct" to apply attribute to type declaration}}
8
__attribute__((visibility("hidden"))) __attribute__((aligned)) union C; // expected-
warning
{{attribute 'visibility' is ignored, place it after "union" to apply attribute to type declaration}} \
9
// expected-
warning
{{attribute 'aligned' is ignored, place it after "union" to apply attribute to type declaration}}
10
__attribute__((visibility("hidden"))) __attribute__((aligned)) enum D {D}; // expected-
warning
{{attribute 'visibility' is ignored, place it after "enum" to apply attribute to type declaration}} \
11
// expected-
warning
{{attribute 'aligned' is ignored, place it after "enum" to apply attribute to type declaration}}
attr-unused.cpp
7
ns_not_unused::Int_not_unused i1; // expected-
warning
{{unused variable}}
8
ns_unused::Int_unused i0; // expected-
warning
{{'Int_unused' was marked unused but was used}}
attr-used.cpp
3
extern char test1[] __attribute__((used)); // expected-
warning
{{'used' attribute ignored}}
4
extern const char test2[] __attribute__((used)); // expected-
warning
{{'used' attribute ignored}}
defaulted-ctor-loop.cpp
3
//
WARNING
: This test may recurse infinitely if failing.
12
: b(b) // expected-
warning
{{field 'b' is uninitialized}}
ms-exception-spec.cpp
7
void fn() throw(S); // expected-
warning
{{incomplete type}} expected-note{{previous declaration}}
8
void fn() throw(); // expected-
warning
{{does not match previous declaration}}
warn-deprecated-header.cpp
4
// expected-
warning
@+2 {{This file is deprecated.}}
6
#
warning
This file is deprecated.
warn-everthing.cpp
11
void testPR12271() { // expected-
warning
{{no previous prototype for function 'testPR12271'}}
12
PR12271 a[1][1]; // expected-
warning
{{unused variable 'a'}}
/external/clang/test/SemaObjC/
super-class-protocol-conformance.m
22
@implementation SubClass1 @end // Test1 - No
Warning
24
@implementation TopClass // expected-
warning
{{property 'myString' requires method 'myString' to be defined}}
27
@implementation SubClass // Test3 - No
Warning
33
@implementation SubClass2 @end // Test 4 - No
Warning
36
@implementation SubClass3 @end // Test 5 - No
Warning
39
@implementation SubClass4 @end // Test 5 - No
Warning
46
@implementation SubClass5 @end // expected-
warning
{{property 'myNewString' requires method 'myNewString' to be defined}}
63
@implementation INTF @end // expected-
warning
{{property 'invalidationBacktrace' requires method 'invalidationBacktrace' to be defined}}
/external/clang/test/SemaObjCXX/Inputs/
nullability-consistency-6.h
1
int *ptr; // expected-
warning
{{missing a nullability type specifier}}
5
extern void **blah; // expected-
warning
2{{missing a nullability type specifier}}
Completed in 405 milliseconds
<<
21
22
23
24
25
26
27
28
29
30
>>