Lines Matching full:data

1 // RUN: %check_clang_tidy -check-suffixes=,CLASSIC %s readability-container-data-pointer %t -- -- -…
2 …es=,WITH-CONFIG %s readability-container-data-pointer %t -- -config="{CheckOptions: {readability-c…
16 T *data();
17 const T *data() const;
48 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in g()
49 // CHECK-FIXES: {{^ }}f(b.data());{{$}} in g()
55 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in h()
56 // CHECK-FIXES-CLASSIC: {{^ }}f(s.data());{{$}} in h()
57 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in h()
61 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in h()
62 // CHECK-FIXES-CLASSIC: {{^ }}f(w.data());{{$}} in h()
63 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in h()
71 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in i()
72 // CHECK-FIXES: {{^ }}f(b.data());{{$}} in i()
79 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in j()
80 // CHECK-FIXES: {{^ }}f(v->data());{{$}} in j()
85 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in k()
86 // CHECK-FIXES: {{^ }}f(v.data());{{$}} in k()
92 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in l()
98 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in m()
99 // CHECK-FIXES: {{^ }}return v.data();{{$}} in m()
111 // c has no "data" member function, so there should not be a warning here: in n()
117 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in o()
118 // CHECK-FIXES: {{^ }}return v[idx1][idx2].data();{{$}} in o()
127 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in p()
128 // CHECK-FIXES: {{^ }}return select(*&v1, v2).data();{{$}} in p()
133 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in q()
134 // CHECK-FIXES: {{^ }}return (**v)->data();{{$}} in q()
144 …: warning: 'data' should be used for accessing the data pointer instead of taking the address of t… in r()
145 // CHECK-FIXES: {{^ }}return holder.v.data();{{$}} in r()