Home
last modified time | relevance | path

Searched refs:iarr (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-memset-bad-sizeof.cpp125 int iarr[14]; in f() local
126 memset(&iarr[0], 0, sizeof iarr); in f()
127 memset(iarr, 0, sizeof iarr); in f()
128 bzero(&iarr[0], sizeof iarr); in f()
129 bzero(iarr, sizeof iarr); in f()
H A Dconst-cast.cpp21 typedef iar &iarr; typedef
35 int (&rar)[100] = const_cast<iarr>(ar); in good_const_cast_test()
H A Dcxx1y-variable-templates_top_level.cpp348 int *iarr = arr<int>; in bar() local
349 iarr[0] = 1; in bar()
350 iarr[2] = 3; in bar()
351 iarr[6] = -2; in bar()
H A Dcstyle-cast.cpp21 typedef iar &iarr; typedef
H A Dfunctional-cast.cpp51 typedef iar &iarr; typedef
/llvm-project-15.0.7/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
H A Dp1.cpp50 int iarr[10]; variable
79 X0<iarr> x0b; in test()
80 X0<&iarr> x0b_addr; // expected-error {{cannot be converted to a value of type 'int *'}} in test()
116 X2<iarr> x2b; // expected-error {{cannot bind to template argument of type 'int[10]'}} in test()
117 X2<&iarr> x2b_addr; // expected-error {{address taken}} in test()
/llvm-project-15.0.7/lldb/test/API/lang/cpp/structured-binding/
H A Dmain.cpp39 int iarr[]{22, 33, 44}; in main() local
43 auto [iarr_copy1, iarr_copy2, iarr_copy3] = iarr; in main()
47 auto &[iarr_ref1, iarr_ref2, iarr_ref3] = iarr; in main()
51 auto &&[iarr_rref1, iarr_rref2, iarr_rref3] = iarr; in main()
/llvm-project-15.0.7/flang/test/Semantics/
H A Dresolve77.f9017 integer :: iarr(if1(n)) local
24 integer :: iarr(ifn3(n)) ! should resolve to if3 local
42 integer :: iarr(if2(n)) local
H A Dentry01.f9079 integer :: iarr(1) local
107 entry ibadt3() result(iarr)
/llvm-project-15.0.7/clang/test/OpenMP/
H A Dtarget_update_messages.cpp174 int iarr[5][5]; local
179 #pragma omp target update to(iarr[0:][1:2:-1])
185 #pragma omp target update from(iarr[0:][1:2:-1])
192 #pragma omp target update to(iarr[0: :2][1:2])
199 #pragma omp target update from(iarr[0: :2][1:2])
H A Dtarget_data_messages.c50 int marr[10][10], iarr[5]; in main() local
53 #pragma omp target data map(alloc: iarr[:2:b]) // expected-error {{expected ']'}} expected-note {{t… in main()
H A Dtarget_map_messages.cpp688 T marr[10][10], iarr[5]; in tmain() local
691 #pragma omp target data map(iarr[:2:d]) // expected-error {{expected ']'}} expected-note {{to match… in tmain()
900 int marr[10][10], iarr[5]; in main() local
904 #pragma omp target map(iarr[:2:d]) // expected-error {{expected ']'}} expected-note {{to match this… in main()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dreference-init.cpp23 int iarr[] = { 1 }; variable
24 int test() { return f(iarr); } in test()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Ddeduction.cpp88 int iarr[] = { 1 }; variable
89 void test_PR5911() { f(iarr); } in test_PR5911()