Home
last modified time | relevance | path

Searched refs:initializing (Results 1 – 25 of 73) sorted by relevance

123

/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Dusm-address-spaces-conversions.cl47 …// expected-error@+15{{initializing '__constant int *__private' with an expression of type '__glob…
48 …// expected-error@+15{{initializing '__constant int *__private' with an expression of type '__glob…
49 …// expected-error@+16{{initializing '__constant int *__private' with an expression of type '__glob…
51 …// expected-error@+10{{initializing '__local int *__private' with an expression of type '__global_…
52 …// expected-error@+10{{initializing '__local int *__private' with an expression of type '__global_…
53 …// expected-error@+10{{initializing '__local int *__private' with an expression of type '__global_…
54 …// expected-error@+11{{initializing '__local int *__private' with an expression of type '__global_…
56 …// expected-error@+5{{initializing '__private int *__private' with an expression of type '__global…
57 …// expected-error@+5{{initializing '__private int *__private' with an expression of type '__global…
58 …// expected-error@+5{{initializing '__private int *__private' with an expression of type '__global…
[all …]
H A Dintel-subgroup-avc-ext-types.cl35 // expected-error@-14 {{initializing '__private intel_sub_group_avc_mce_payload_t' with an expressi…
36 // expected-error@-14 {{initializing '__private intel_sub_group_avc_ime_payload_t' with an expressi…
37 // expected-error@-14 {{initializing '__private intel_sub_group_avc_ref_payload_t' with an expressi…
38 // expected-error@-14 {{initializing '__private intel_sub_group_avc_sic_payload_t' with an expressi…
39 // expected-error@-14 {{initializing '__private intel_sub_group_avc_mce_result_t' with an expressio…
40 // expected-error@-14 {{initializing '__private intel_sub_group_avc_ime_result_t' with an expressio…
41 // expected-error@-14 {{initializing '__private intel_sub_group_avc_ref_result_t' with an expressio…
42 // expected-error@-14 {{initializing '__private intel_sub_group_avc_sic_result_t' with an expressio…
46 // expected-error@-14 {{initializing '__private intel_sub_group_avc_ime_single_reference_streamin_t…
47 // expected-error@-14 {{initializing '__private intel_sub_group_avc_ime_dual_reference_streamin_t' …
[all …]
H A Dpredefined-expr.cl5 …char *f1 = __func__; //expected-error-re{{initializing '{{__generic|__private}} char *__p…
6 …constant char *f2 = __func__; //expected-warning{{initializing '__constant char *__private' with a…
H A Dvector-conv.cl10 …int4 i = u; // expected-error{{initializing '__private int4' (vector of 4 'int' values) with an ex…
20 …global int4 *global_ptr = const_global_ptr; // expected-warning {{initializing '__…
H A Dnull_literal.cl21 // expected-error@+2{{initializing '__constant int *__private' with an expression of type '__global…
33 // expected-error@+2{{initializing '__global int *__private' with an expression of type '__local vo…
H A Dinvalid-vector-literals.cl11 …int8 d = (int8)(a,(float4)(1)); // expected-error{{initializing 'int' with an expression of incomp…
H A Dnull_queue.cl7 …queue_t q1 = 1; // expected-error{{initializing '__private queue_t' with an expression of incompat…
H A Dsampler_t.cl36 constant sampler_t glb_smp8 = 1.0f; // expected-error{{initializing '__constant sampler_t' with an …
57 …const sampler_t const_smp5 = 1.0f; // expected-error{{initializing 'const sampler_t' with an expre…
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Darc-nsconsumed-errors.m8 …bute((ns_consumed)) id arg2){}; // expected-error {{incompatible block pointer types initializing}}
12 …bute((ns_consumed)) id arg2){}; // expected-error {{incompatible block pointer types initializing}}
14 … = ^void (id arg1, id arg2) {}; // expected-error {{incompatible block pointer types initializing}}
16 …consumed)) id arg1, id arg2){}; // expected-error {{incompatible block pointer types initializing}}
18 …bute((ns_consumed)) id arg2){}; // expected-error {{incompatible block pointer types initializing}}
22 … = ^void (id arg1, id arg2) {}; // expected-error {{incompatible block pointer types initializing}}
H A DNSString-type.m5 …void (^block)(void) = @"help"; // expected-error {{initializing 'void (^)(void)' with an expressio…
7 …void (^block2)(void) = @"help"; // expected-error {{initializing 'void (^)(void)' with an expressi…
8 …void (^block3)(void) = @"help"; // expected-error {{initializing 'void (^)(void)' with an expressi…
H A Dcomptypes-10.m19 …NSObject <NSCopying> *Init = bar; // expected-warning {{initializing 'NSObject<NSCopying> *' with …
20 …NSObject *Init1 = bar; // expected-warning {{initializing 'NSObject *' with an expression of incom…
33 …NSObject <NSCopying> *Init = bar; // expected-warning {{initializing 'NSObject<NSCopying> *' with …
H A Dblock-type-safety.m201 id<P1,P2> anQualId = aBlock; // expected-error {{initializing 'id<P1,P2>' with an expression of in…
203 NSArray* anArray = aBlock; // expected-error {{initializing 'NSArray *' with an expression of incom…
219 …id <P1> anQualId4 = aBlock; // expected-error {{initializing 'id<P1>' with an expression of inco…
220 …id<NSObject, P1, NSCopying> anQualId5 = aBlock; // expected-error {{initializing 'id<NSObject,P1,N…
230 …NSObject <P1> *NSO4 = aBlock; // expected-error {{initializing 'NSObject<P1> *' with an expressi…
231 …NSObject<NSObject, P1, NSCopying> *NSO5 = aBlock; // expected-error {{initializing 'NSObject<NSObj…
H A Dmrc-weak.m53 …id *b = (__weak id*) value; // expected-error {{initializing 'id *' with an expression of type '__…
54 …__weak id *c = (id*) value; // expected-error {{initializing '__weak id *' with an expression of t…
65 …__unsafe_unretained id *b = (id *)value; // expected-error {{initializing 'id *' with an expressio…
H A Dconditional-expr-3.m30 …id<P0> l = x; // expected-warning {{initializing 'id<P0>' with an expression of incompatible type …
34 …id<P1> l = a; // expected-warning {{initializing 'id<P1>' with an expression of incompatible type …
H A Dwarn-write-strings.m4 char* x = "foo"; // expected-warning {{initializing 'char *' with an expression of type 'const char…
H A Dcomptypes-6.m12 …Derived *m = foo(); // expected-warning {{incompatible pointer types initializing 'Derived *' wi…
H A Dmethod-lookup-5.m10 …// expected-error {{incompatible pointer to integer conversion initializing 'int' with an expressi…
H A Dnullability.m67 …int *ptr = bar.property1; // expected-warning{{incompatible pointer types initializing 'int *' wit…
98 …int *ptr = foo; // expected-warning{{incompatible pointer types initializing 'int *' with an expre…
174 …int *ip = [ic returnMe]; // expected-warning{{incompatible pointer types initializing 'int *' with…
239 …id) { return 0; })(); // expected-warning{{incompatible pointer types initializing 'int *' with an…
304 …int *p = [c0 count]; // expected-error {{incompatible integer to pointer conversion initializing '…
/llvm-project-15.0.7/clang/test/Modules/
H A Dserialized-diags.m15 // CHECK: has_warnings.h:3:8: warning: incompatible pointer types initializing 'float *'
17 // CHECK: serialized-diags.m:8:9: warning: incompatible pointer types initializing 'double *'
25 // CHECK-WITH-ERRORS: has_warnings.h:3:8: warning: incompatible pointer types initializing 'float *'
H A Dobjc-categories.m46 …id<P1> p1 = foo; // expected-warning{{initializing 'id<P1>' with an expression of incompatible typ…
47 …id<P2> p2 = foo; // expected-warning{{initializing 'id<P2>' with an expression of incompatible typ…
74 …id<P2> p2 = foo; // expected-warning{{initializing 'id<P2>' with an expression of incompatible typ…
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dredundant-member-init.rst14 // Explicitly initializing the member s is unnecessary.
39 // Explicitly initializing member s and base class Bar is unnecessary.
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Dsampler.cl11 // 2a. initializing a file-scope variable with constant addr space qualifier
12 // 2b. initializing a function-scope variable
13 // 2c. initializing a file-scope variable with const qualifier
/llvm-project-15.0.7/clang/test/Sema/
H A Dpredef.c9 …expected-warning {{initializing 'char *' with an expression of type 'const char[1]' discards quali…
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/performance/
H A Dmove-constructor-init.rst9 initializing a member or base class through a copy constructor instead of a
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Doverload.mm54 …B* b = a; // expected-warning{{incompatible pointer types initializing 'B *' with an expression of…
59 …B** bp = ap; // expected-warning{{incompatible pointer types initializing 'B **' with an expressio…

123