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

<<41424344454647484950>>

  /external/clang/test/SemaCXX/
offsetof-0x.cpp 13 int i = __builtin_offsetof(P, fieldThatPointsToANonPODType.m); // expected-warning{{offset of on non-standard-layout type 'P'}}
20 int o = __builtin_offsetof(StandardLayout, x); // no-warning
reinterpret-fn-obj-pedantic.cpp 7 void *vp = reinterpret_cast<void*>(fp); // expected-warning {{cast between pointer-to-function and pointer-to-object is an extension}}
8 (void)reinterpret_cast<fnptr>(vp); // expected-warning {{cast between pointer-to-function and pointer-to-object is an extension}}
shift.cpp 8 (void)(N << 30); // expected-warning {{bits to represent, but 'int' only has}}
9 (void)(30 << N); // expected-warning {{bits to represent, but 'int' only has}}
warn-new-overaligned.cpp 15 new Test; // expected-warning {{type 'test1::Test' requires 256 bytes of alignment and the default allocator only guarantees}}
16 new Test[10]; // expected-warning {{type 'test1::Test' requires 256 bytes of alignment and the default allocator only guarantees}}
28 new Test; // expected-warning {{type 'test2::Test' requires 256 bytes of alignment and the default allocator only guarantees}}
29 new Test[10]; // expected-warning {{type 'test2::Test' requires 256 bytes of alignment and the default allocator only guarantees}}
41 return 0; // expected-warning {{'operator new' should not return a null pointer unless it is declared 'throw()'}}
50 new Test[10]; // expected-warning {{type 'test3::Test' requires 256 bytes of alignment and the default allocator only guarantees}}
62 return 0; // expected-warning {{'operator new[]' should not return a null pointer unless it is declared 'throw()'}}
70 new Test; // expected-warning {{type 'test4::Test' requires 256 bytes of alignment and the default allocator only guarantees}}
warn-unused-attribute.cpp 13 Test unused; // expected-warning {{unused variable 'unused'}}
18 int i __attribute__((warn_unused)) = 12; // expected-warning {{'warn_unused' attribute only applies to struct, union or class}}
  /external/clang/test/SemaObjC/
builtin_objc_lib_functions.m 3 Class f0() { return objc_getClass("a"); } // expected-warning {{implicitly declaring library function 'objc_getClass' with type 'id (const char *)'}} \
7 Class f1() { return objc_getMetaClass("a"); } // expected-warning {{implicitly declaring library function 'objc_getMetaClass' with type 'id (const char *)'}} \
10 void f2(id val) { objc_enumerationMutation(val); } // expected-warning {{implicitly declaring library function 'objc_enumerationMutation' with type 'void (id)'}} \
13 long double f3(id self, SEL op) { return objc_msgSend_fpret(self, op); } // expected-warning {{implicitly declaring library function 'objc_msgSend_fpret' with type 'long double (id, SEL, ...)'}} \
16 id f4(struct objc_super *super, SEL op) { // expected-warning {{declaration of 'struct objc_super' will not be visible outside of this function}}
17 return objc_msgSendSuper(super, op); // expected-warning {{implicitly declaring library function 'objc_msgSendSuper' with type 'id (struct objc_super *, SEL, ...)'}} \
22 return objc_assign_strongCast(val, dest); // expected-warning {{implicitly declaring library function 'objc_assign_strongCast' with type 'id (id, id *)'}} \
27 return objc_exception_match(exceptionClass, exception); // expected-warning {{implicitly declaring library function 'objc_exception_match' with type 'int (id, id)'}} \
inst-method-lookup-in-root.m 21 [Derived starboard]; // expected-warning {{method '+starboard' not found}}
23 [receiver starboard]; // expected-warning {{instance method 'starboard' is being used on 'Class'}}
method-lookup-5.m 9 void f0(A *a) { int x = [[a foo] baz]; } // expected-warning {{method '+baz' not found (return type defaults to 'id')}} \
10 // expected-warning {{ncompatible pointer to integer conversion initializing 'int' with an expression of type 'id'}}
missing-method-return-type.m 5 - initWithFoo:(id)foo; // expected-warning {{method has no return type specified; defaults to 'id'}}
9 - initWithFoo:(id)foo { return 0; } // expected-warning {{method has no return type specified; defaults to 'id'}}
  /external/clang/test/SemaOpenCL/
to_addr_builtin.cl 13 // expected-warning@-2{{implicit declaration of function 'to_global' is invalid in C99}}
14 // expected-warning@-3{{incompatible integer to pointer conversion assigning to '__global int *' from 'int'}}
22 // expected-warning@-2{{incompatible integer to pointer conversion assigning to '__global int *' from 'int'}}
29 // expected-warning@-2{{incompatible integer to pointer conversion assigning to '__global int *' from 'int'}}
36 // expected-warning@-2{{incompatible integer to pointer conversion assigning to '__global int *' from 'int'}}
43 // expected-warning@-2{{incompatible integer to pointer conversion assigning to '__local int *' from 'int'}}
50 // expected-warning@-2{{incompatible integer to pointer conversion initializing '__global char *' with an expression of type 'int'}}
52 // expected-warning@-4{{incompatible pointer types initializing '__global char *' with an expression of type '__global int *'}}
  /external/clang/test/SemaTemplate/
ms-function-specialization-class-scope.cpp 8 // expected-warning@-1 {{explicit specialization of 'A' within class scope is a Microsoft extension}}
14 // expected-warning@-1 {{explicit specialization of 'f' within class scope is a Microsoft extension}}
32 // expected-warning@-1 {{explicit specialization of 'B<T>' within class scope is a Microsoft extension}}
38 // expected-warning@-1 {{explicit specialization of 'f' within class scope is a Microsoft extension}}
60 // expected-warning@-1 {{explicit specialization of 'specialized_member_template' within class scope is a Microsoft extension}}
70 template<> void f<int>() {} // expected-warning {{Microsoft extension}}
71 template<> void f<T>() {} // expected-warning {{Microsoft extension}}
84 int f<0>(int); // expected-warning {{Microsoft extension}}
  /external/llvm/test/Linker/
2003-08-24-InheritPtrSize.ll 2 ; specified pointer size should not cause a warning!
7 ; CHECK-NOT: warning
  /external/llvm/test/MC/Disassembler/ARM/
unpredictable-BFI.txt 5 # CHECK: warning: invalid instruction encoding
9 # CHECK: warning: invalid instruction encoding
  /external/llvm/test/MC/Disassembler/Hexagon/
unextendable.txt 4 #CHECK: warning: invalid instruction encoding
8 #CHECK: warning: invalid instruction encoding
  /external/swiftshader/third_party/LLVM/test/Linker/
2003-08-24-InheritPtrSize.ll 2 ; specified pointer size should not cause a warning!
6 ; RUN: llvm-link %t.out1.bc %t.out2.bc |& not grep warning
  /external/v8/tools/clang/blink_gc_plugin/tests/
class_overrides_new.txt 2 ./class_overrides_new.h:13:5: warning: [blink-gc] Garbage collected class 'HeapObject' is not permitted to override its new operator.
8 1 warning generated.
class_requires_finalization_base.txt 2 ./class_requires_finalization_base.h:23:1: warning: [blink-gc] Class 'NeedsFinalizer' requires finalization.
8 1 warning generated.
class_requires_trace_method_tmpl.txt 2 ./class_requires_trace_method_tmpl.h:27:1: warning: [blink-gc] Class 'TemplatedObject<blink::PartObjectB>' requires a trace method.
8 1 warning generated.
destructor_in_nonfinalized_class.txt 2 ./destructor_in_nonfinalized_class.h:12:1: warning: [blink-gc] Class 'HeapObject' requires finalization.
8 1 warning generated.
  /external/v8/tools/clang/blink_gc_plugin/tests/legacy_naming/
class_overrides_new.txt 2 ./class_overrides_new.h:13:5: warning: [blink-gc] Garbage collected class 'HeapObject' is not permitted to override its new operator.
8 1 warning generated.
class_requires_finalization_base.txt 2 ./class_requires_finalization_base.h:23:1: warning: [blink-gc] Class 'NeedsFinalizer' requires finalization.
8 1 warning generated.
class_requires_trace_method_tmpl.txt 2 ./class_requires_trace_method_tmpl.h:27:1: warning: [blink-gc] Class 'TemplatedObject<blink::PartObjectB>' requires a trace method.
8 1 warning generated.
destructor_in_nonfinalized_class.txt 2 ./destructor_in_nonfinalized_class.h:12:1: warning: [blink-gc] Class 'HeapObject' requires finalization.
8 1 warning generated.
part_object_to_gc_derived_class.txt 2 ./part_object_to_gc_derived_class.h:14:1: warning: [blink-gc] Class 'B' contains invalid fields.
8 1 warning generated.
persistent_no_trace.txt 1 persistent_no_trace.cpp:9:1: warning: [blink-gc] Class 'HeapObject' has untraced or not traceable fields.
10 1 warning generated.

Completed in 680 milliseconds

<<41424344454647484950>>