HomeSort by relevance Sort by last modified time
    Searched full:warning (Results 751 - 775 of 21668) sorted by null

<<31323334353637383940>>

  /external/clang/test/SemaObjC/
nullability.m 28 return 0; // no warning
40 - (nonnull NSFoo * _Nonnull)redundantMethod1; // expected-warning{{duplicate nullability specifier '_Nonnull'}}
46 @property(retain,nonnull) NSFoo * _Nonnull redundantProperty1; // expected-warning{{duplicate nullability specifier '_Nonnull'}}
49 @property(nullable,retain,nullable) NSFoo *redundantProperty3; // expected-warning{{duplicate nullability specifier 'nullable'}}
57 @property(retain,nonnull) NSFoo * _Nonnull redundantProperty2; // expected-warning{{duplicate nullability specifier '_Nonnull'}}
61 [foo methodTakingIntPtr: 0]; // expected-warning{{null passed to a callee that requires a non-null argument}}
62 [bar methodWithFoo: 0]; // expected-warning{{null passed to a callee that requires a non-null argument}}
63 bar.property1 = 0; // expected-warning{{null passed to a callee that requires a non-null argument}}
64 bar.property2 = 0; // expected-warning{{null passed to a callee that requires a non-null argument}}
65 [bar setProperty1: 0]; // expected-warning{{null passed to a callee that requires a non-null argument}
    [all...]
deprecate_function_containers.m 5 void p_foo() {} // expected-warning {{function definition inside an Objective-C container is deprecated}}
9 void foo() {} // expected-warning {{function definition inside an Objective-C container is deprecated}}
10 inline void v_foo() {} // expected-warning {{function definition inside an Objective-C container is deprecated}}
11 static int s_foo() {return 0; } // expected-warning {{function definition inside an Objective-C container is deprecated}}
12 static inline int si_val() { return 1; } // expected-warning {{function definition inside an Objective-C container is deprecated}}
16 void cat_foo() {} // expected-warning {{function definition inside an Objective-C container is deprecated}}
32 static inline void prototype_observe_moin1(void (^callback)(id)) { // expected-warning {{function definition inside an Objective-C container is deprecated}}
illegal-nonarc-bridged-cast.m 19 id obj1 = (__bridge_transfer id)CFCreateSomething(); // expected-warning {{'__bridge_transfer' casts have no effect when not using ARC}}
20 id obj2 = (__bridge_transfer NSString*)CFCreateString(); // expected-warning {{'__bridge_transfer' casts have no effect when not using ARC}}
21 (__bridge int*)CFCreateSomething(); // expected-warning {{expression result unused}}
27 CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); // expected-warning {{'__bridge_retained' casts have no effect when not using ARC}}
28 CFStringRef cf2 = (__bridge_retained CFStringRef)CreateNSString(); // expected-warning {{'__bridge_retained' casts have no effect when not using ARC}}
41 CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); // no-warning
42 CFTypeRef cf3 = (__bridge CFTypeRef)CreateSomething(); // no-warning
property-noninherited-availability-attr.m 23 y.myProperty = 0; // expected-warning {{'myProperty' is deprecated: first deprecated in macOS 10.8}}
24 (void)[y myProperty]; // expected-warning {{'myProperty' is deprecated: first deprecated in macOS 10.8}}
26 x.myProperty = 1; // no-warning
27 (void)[x myProperty]; // no-warning
29 x.myProtocolProperty = 0; // no-warning
31 (void)[x myProtocolProperty]; // no-warning
32 (void)[z myProtocolProperty]; // expected-warning {{'myProtocolProperty' is deprecated: first deprecated in macOS 10.8}}
protocol-attribute.m 12 @protocol Proto2 <MyProto1> // expected-warning {{'MyProto1' is deprecated}}
17 @interface MyClass1 <MyProto1> // expected-warning {{'MyProto1' is deprecated}}
23 @interface Derived : MyClass1 <MyProto1> // expected-warning {{'MyProto1' is deprecated}}
25 id <MyProto1> ivar; // expected-warning {{'MyProto1' is deprecated}}
29 @interface MyClass1 (Category) <MyProto1, Proto2> // expected-warning {{'MyProto1' is deprecated}}
34 Class <MyProto1> clsP1 = 0; // expected-warning {{'MyProto1' is deprecated}}
47 MyClass1 <MyProto1> *p1; // expected-warning {{'MyProto1' is deprecated}}
  /external/llvm/test/MC/ARM/
arm-load-store-multiple-deprecated.s 14 @ CHECK: warning: use of SP or PC in the list is deprecated
18 @ CHECK: warning: use of SP or PC in the list is deprecated
22 @ CHECK: warning: use of SP or PC in the list is deprecated
26 @ CHECK: warning: use of SP or PC in the list is deprecated
30 @ CHECK: warning: use of SP or PC in the list is deprecated
34 @ CHECK: warning: use of SP or PC in the list is deprecated
42 @ CHECK: warning: use of SP or PC in the list is deprecated
46 @ CHECK: warning: use of SP or PC in the list is deprecated
50 @ CHECK: warning: use of SP or PC in the list is deprecated
54 @ CHECK: warning: use of SP or PC in the list is deprecate
    [all...]
  /hardware/qcom/msm8960/kernel-headers/linux/mfd/
msm-adie-codec.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...]
  /hardware/qcom/msm8994/kernel-headers/linux/mfd/
msm-adie-codec.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...]
  /hardware/qcom/msm8994/kernel-headers/media/
msm_jpeg.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...]
  /hardware/qcom/msm8996/kernel-headers/media/
msm_jpeg.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...]
  /hardware/qcom/msm8998/kernel-headers/media/
msm_jpeg.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...]
  /hardware/qcom/msm8x26/kernel-headers/linux/mfd/
msm-adie-codec.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...]
  /hardware/qcom/msm8x84/kernel-headers/linux/mfd/
msm-adie-codec.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...]
  /hardware/qcom/msm8x84/kernel-headers/media/
msm_jpeg.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/
bitwise-ops.c 8 CHECK(x); // expected-warning{{TRUE}}
9 CHECK(x & 1); // expected-warning{{TRUE}}
12 CHECK(1 - x); // expected-warning{{UNKNOWN}}
13 CHECK(x & y); // expected-warning{{UNKNOWN}}
23 return 0ULL << 63; // no-warning
25 return 0ULL << 64; // expected-warning{{The result of the '<<' expression is undefined}}
27 return 0ULL << 65; // expected-warning{{The result of the '<<' expression is undefined}}
blocks-no-inline.c 13 clang_analyzer_eval(i == 0); // expected-warning{{UNKNOWN}}
23 clang_analyzer_eval(globalConstant == 1); // expected-warning{{TRUE}}
24 clang_analyzer_eval(localConstant == 2); // expected-warning{{TRUE}}
25 clang_analyzer_eval(staticConstant == 3); // expected-warning{{TRUE}}
36 clang_analyzer_eval(anotherGlobalConstant == 1); // expected-warning{{TRUE}}
37 clang_analyzer_eval(localConstant == 2); // expected-warning{{TRUE}}
38 clang_analyzer_eval(staticConstant == 3); // expected-warning{{TRUE}}
logical-ops.c 8 clang_analyzer_eval((knownP && knownP) == 1); // expected-warning{{TRUE}}
9 clang_analyzer_eval((knownP && nullP) == 0); // expected-warning{{TRUE}}
10 clang_analyzer_eval((knownP && p) == 1); // expected-warning{{UNKNOWN}}
16 clang_analyzer_eval((nullP || knownP) == 1); // expected-warning{{TRUE}}
17 clang_analyzer_eval((nullP || nullP) == 0); // expected-warning{{TRUE}}
18 clang_analyzer_eval((nullP || p) == 1); // expected-warning{{UNKNOWN}}
36 int undef(void) {} // expected-warning{{control reaches end of non-void function}}
method-call.cpp 17 clang_analyzer_eval(a); // expected-warning{{UNKNOWN}}
19 clang_analyzer_eval(a); // expected-warning{{TRUE}}
24 clang_analyzer_eval(x.getx() == 3); // expected-warning{{TRUE}}
29 clang_analyzer_eval(x.getx() == 3); // expected-warning{{TRUE}}
34 clang_analyzer_eval(x.getx() == 3); // expected-warning{{TRUE}}
39 clang_analyzer_eval(x.getx() == 3); // expected-warning{{TRUE}}
46 clang_analyzer_eval(t.x == 0); // expected-warning{{TRUE}}
  /external/clang/test/FixIt/
format-no-fixit.m 12 printf("%d", x); // expected-warning{{format specifies type 'int' but the argument has type 'id'}}
13 printf("%s", x); // expected-warning{{format specifies type 'char *' but the argument has type 'id'}}
14 printf("%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'id'}}
24 NSLog(@"%@", x); // no-warning
26 NSLog(@"%d", x); // expected-warning{{format specifies type 'int' but the argument has type 'CFStringRef'}}
27 NSLog(@"%s", x); // expected-warning{{format specifies type 'char *' but the argument has type 'CFStringRef'}}
28 NSLog(@"%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'CFStringRef'}}
  /external/clang/test/Misc/
diag-mapping.c 2 // RUN: %clang_cc1 %s 2>&1 | grep "warning:"
9 // -Werror can map this one warning to error.
13 // RUN: %clang_cc1 %s -Werror=trigraphs 2>&1 | grep "warning:"
15 // This should stay a warning with -pedantic.
16 // RUN: %clang_cc1 %s -pedantic 2>&1 | grep "warning:"
21 // This should emit a warning, because -Wfoo overrides -pedantic*.
22 // RUN: %clang_cc1 %s -pedantic-errors -Wextra-tokens 2>&1 | grep "warning:"
  /external/clang/test/Sema/
MicrosoftCompatibility.c 3 enum ENUM1; // expected-warning {{forward references to 'enum' types are a Microsoft extension}}
10 ENUM2_b = 0x9FFFFFFF, // expected-warning {{enumerator value is not representable in the underlying type 'int'}}
11 ENUM2_c = 0x100000000 // expected-warning {{enumerator value is not representable in the underlying type 'int'}}
15 return; // expected-warning {{function 'f6' declared 'noreturn' should not return}}
19 struct __declspec(aligned) S2 {}; /* expected-warning {{__declspec attribute 'aligned' is not supported}} */
21 struct __declspec(appdomain) S3 {}; /* expected-warning {{__declspec attribute 'appdomain' is not supported}} */
23 __declspec(__noreturn__) void f7(void); /* expected-warning {{__declspec attribute '__noreturn__' is not supported}} */
attr-unused.c 20 int x; // expected-warning {{unused variable}}
22 Int_not_unused i0; // expected-warning {{unused variable}}
23 Int_unused i1; // expected-warning {{'Int_unused' was marked unused but was used}}
25 struct Test0_not_unused s0; // expected-warning {{unused variable}}
26 struct Test0_unused s1; // expected-warning {{'Test0_unused' was marked unused but was used}}
29 int f3(int x) { // expected-warning{{unused parameter 'x'}}
42 return x; // expected-warning{{'x' was marked unused but was used}}
  /external/clang/test/SemaCXX/
switch-implicit-fallthrough-per-method.cpp 8 case 1: // expected-warning{{unannotated fall-through}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}}
15 case 113: // expected-warning{{unannotated fall-through}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}}
27 case 1: // no warning, as we didn't "opt-in" for it in this method
31 case 112: // no warning, as we didn't "opt-in" for it in this method
33 case 113: // no warning, as we didn't "opt-in" for it in this method
warn-exit-time-destructors.cpp 5 A a; // expected-warning {{declaration requires an exit-time destructor}}
6 A b[10]; // expected-warning {{declaration requires an exit-time destructor}}
7 A c[10][10]; // expected-warning {{declaration requires an exit-time destructor}}
18 static A a; // expected-warning {{declaration requires an exit-time destructor}}
19 static A b[10]; // expected-warning {{declaration requires an exit-time destructor}}
20 static A c[10][10]; // expected-warning {{declaration requires an exit-time destructor}}
34 C c; // expected-warning {{exit-time destructor}}
warn-self-assign.cpp 5 a = a; // expected-warning{{explicitly assigning}}
6 b = b; // expected-warning{{explicitly assigning}}
9 a = a = a; // expected-warning{{explicitly assigning}}
11 a &= a; // expected-warning{{explicitly assigning}}
12 a |= a; // expected-warning{{explicitly assigning}}
34 s = s; // Not a builtin assignment operator, no warning.
45 a = a; // May or may not be a builtin assignment operator, no warning.

Completed in 342 milliseconds

<<31323334353637383940>>