Home
last modified time | relevance | path

Searched refs:NODEREF (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang/test/Frontend/
Dnoderef.cpp7 #define NODEREF __attribute__((noderef)) macro
15 …int NODEREF i; // expected-warning{{'noderef' can only be used on an array or pointer type}} in Normal()
16 int NODEREF *i_ptr; // expected-note 2 {{i_ptr declared here}} in Normal()
17 int NODEREF **i_ptr2; // ok in Normal()
18 …int *NODEREF i_ptr3; // expected-warning{{'noderef' can only be used on an array or pointer type}} in Normal()
19 int *NODEREF *i_ptr4; // ok in Normal()
21 auto NODEREF *auto_i_ptr = i_ptr; in Normal()
22 …auto NODEREF auto_i = i; // expected-warning{{'noderef' can only be used on an array or pointer ty… in Normal()
27 } NODEREF *s; in Normal()
37 const int NODEREF *const_i_ptr;
[all …]
Dnoderef.c3 #define NODEREF __attribute__((noderef)) macro
12 int NODEREF a2[2];
14 int NODEREF *b2;
16 struct S NODEREF *s2;
19 int NODEREF *func(int NODEREF *arg) { // expected-note{{arg declared here}} in func()
27 int NODEREF *p; // expected-note 34 {{p declared here}} in test()
31 x = *((int NODEREF *)p2); // expected-warning{{dereferencing expression marked as 'noderef'}} in test()
33 int NODEREF **q; in test()
34 int *NODEREF *q2; // expected-note 4 {{q2 declared here}} in test()
60 struct S NODEREF *s; // expected-note 3 {{s declared here}} in test()
[all …]
Dmacro_defined_type.cpp3 #define NODEREF __attribute__((noderef)) macro
6 int NODEREF i; // expected-warning{{'noderef' can only be used on an array or pointer type}} in Func()
7 int NODEREF *i_ptr; in Func()
13 auto NODEREF *auto_i_ptr2 = i_ptr; in Func()
14 …auto NODEREF auto_i2 = i; // expected-warning{{'noderef' can only be used on an array or pointer t… in Func()
Dnoderef_templates.cpp3 #define NODEREF __attribute__((noderef)) macro
6 int func(T NODEREF *a) { // expected-note 2 {{a declared here}} in func()
11 float NODEREF *f; in func()
12 int NODEREF *i; in func()
Dnoderef_on_non_pointers.m3 #define NODEREF __attribute__((noderef)) macro
10 …id NODEREF obj = [NSObject new]; // expected-warning{{'noderef' can only be used on an array or po…