/llvm-project/clang/test/Parser/ |
H A D | cxx2a-init-statement.cpp | 13 for (int n = 5; int x : arr1) {} in f() local 16 for (int n = 5; int A<true ? 0 : 1>::*x : arr2) {} in f() local 21 for (int n = 5; F (*p)(int n) : arr3) {} in f() local 22 for (int n = 5; F (*p)(int (n)) : arr3) {} in f() local 25 for (int n = 5; F (*p)(int (n)); ++n) {} in f() local 31 …for (int n = 0; struct { operator bool(); } x = {}; ++n) {} // expected-error {{cannot be defined … in f() local 32 …for (int n = 0; struct { operator bool(); } x : arr4) {} // expected-error {{may not be defined in… in f() local 34 …for (int n = 0; static int m = 0; ++n) {} // expected-error {{type name does not allow storage cla… in f() local 35 …for (int n = 0; static int m : arr1) {} // expected-error {{loop variable 'm' may not be declared … in f() local 38 for (int n = ({ break; 0; }); int m : arr1) {} // expected-error {{not in loop}} in f() local [all …]
|
/llvm-project/clang/test/SemaCXX/ |
H A D | warn-vla.cpp | 3 void test1(int n) { // expected-note {{here}} in test1() 7 void test2(int n, int v[n]) { // expected-warning {{variable length array}} expected-note {{paramet… in test2() 13 void test4(int n) { // expected-note {{here}} in test4() 18 void test5(int n, int v[n]) { // expected-warning {{variable length array}} expected-note {{paramet… in test5() 25 void test7(int n, T v[n]) { // expected-warning {{variable length array}} expected-note {{parameter… in test7()
|
/llvm-project/clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/ |
H A D | acle_neon_sve_bridge_dup_neonq.c | 29 svint8_t test_svdup_neonq_s8(int8x16_t n) { in test_svdup_neonq_s8() 45 svint16_t test_svdup_neonq_s16(int16x8_t n) { in test_svdup_neonq_s16() 61 svint32_t test_svdup_neonq_s32(int32x4_t n) { in test_svdup_neonq_s32() 77 svint64_t test_svdup_neonq_s64(int64x2_t n) { in test_svdup_neonq_s64() 93 svuint8_t test_svdup_neonq_u8(uint8x16_t n) { in test_svdup_neonq_u8() 109 svuint16_t test_svdup_neonq_u16(uint16x8_t n) { in test_svdup_neonq_u16() 125 svuint32_t test_svdup_neonq_u32(uint32x4_t n) { in test_svdup_neonq_u32() 141 svuint64_t test_svdup_neonq_u64(uint64x2_t n) { in test_svdup_neonq_u64() 157 svfloat16_t test_svdup_neonq_f16(float16x8_t n) { in test_svdup_neonq_f16() 176 svfloat32_t test_svdup_neonq_f32(float32x4_t n) { in test_svdup_neonq_f32() [all …]
|
H A D | acle_neon_sve_bridge_get_neonq.c | 27 int8x16_t test_svget_neonq_s8(svint8_t n) { in test_svget_neonq_s8() argument 41 int16x8_t test_svget_neonq_s16(svint16_t n) { in test_svget_neonq_s16() argument 55 int32x4_t test_svget_neonq_s32(svint32_t n) { in test_svget_neonq_s32() argument 69 int64x2_t test_svget_neonq_s64(svint64_t n) { in test_svget_neonq_s64() argument 83 test_svget_neonq_u8(svuint8_t n) test_svget_neonq_u8() argument 97 test_svget_neonq_u16(svuint16_t n) test_svget_neonq_u16() argument 111 test_svget_neonq_u32(svuint32_t n) test_svget_neonq_u32() argument 125 test_svget_neonq_u64(svuint64_t n) test_svget_neonq_u64() argument 139 test_svget_neonq_f16(svfloat16_t n) test_svget_neonq_f16() argument 153 test_svget_neonq_f32(svfloat32_t n) test_svget_neonq_f32() argument 168 test_svget_neonq_f64(svfloat64_t n) test_svget_neonq_f64() argument 182 test_svget_neonq_bf16(svbfloat16_t n) test_svget_neonq_bf16() argument [all...] |
H A D | acle_neon_sve_bridge_set_neonq.c | 27 svint8_t test_svset_neonq_s8(svint8_t s, int8x16_t n) { in test_svset_neonq_s8() 41 svint16_t test_svset_neonq_s16(svint16_t s, int16x8_t n) { in test_svset_neonq_s16() 55 svint32_t test_svset_neonq_s32(svint32_t s, int32x4_t n) { in test_svset_neonq_s32() 69 svint64_t test_svset_neonq_s64(svint64_t s, int64x2_t n) { in test_svset_neonq_s64() 83 svuint8_t test_svset_neonq_u8(svuint8_t s, uint8x16_t n) { in test_svset_neonq_u8() 97 svuint16_t test_svset_neonq_u16(svuint16_t s, uint16x8_t n) { in test_svset_neonq_u16() 111 svuint32_t test_svset_neonq_u32(svuint32_t s, uint32x4_t n) { in test_svset_neonq_u32() 125 svuint64_t test_svset_neonq_u64(svuint64_t s, uint64x2_t n) { in test_svset_neonq_u64() 139 svfloat16_t test_svset_neonq_f16(svfloat16_t s, float16x8_t n) { in test_svset_neonq_f16() 153 svfloat32_t test_svset_neonq_f32(svfloat32_t s, float32x4_t n) { in test_svset_neonq_f32() [all …]
|
/llvm-project/flang/test/Lower/ |
H A D | io-statement-big-unit-checks.f90 | 42 subroutine open_8(n) argument 43 integer(8) :: n local 58 subroutine close_8(n) argument 59 integer(8) :: n local 72 subroutine rewind_8(n) argument 73 integer(8) :: n local 86 subroutine backspace_8(n) argument 87 integer(8) :: n global() local 100 inquire_8(n, fm) global() argument 101 integer(8) :: n global() local 115 write_8(n) global() argument 116 integer(8) :: n global() local 129 read_8(n, var) global() argument 130 integer(8) :: n global() local 144 open_16(n) global() argument 145 integer(16) :: n global() local 162 open_8_error_recovery_1(n, ios) global() argument 163 integer(8) :: n global() local 193 open_8_error_recovery_2(n, msg) global() argument 194 integer(8) :: n global() local 237 temp_cleanup(n, msg, ios) global() argument 258 integer(8) :: n( global() local [all...] |
/llvm-project/clang/test/Analysis/ |
H A D | constraint_manager_negate_difference.c | 28 void assert_in_range_2(int m, int n) { in assert_in_range_2() 33 void equal(int m, int n) { in equal() 40 void non_equal(int m, int n) { in non_equal() 47 void less_or_equal(int m, int n) { in less_or_equal() 54 void less(int m, int n) { in less() 61 void greater_or_equal(int m, int n) { in greater_or_equal() 68 void greater(int m, int n) { in greater() 75 void negate_positive_range(int m, int n) { in negate_positive_range() 82 void negate_int_min(int m, int n) { in negate_int_min() 87 void negate_mixed(int m, int n) { in negate_mixed() [all …]
|
H A D | malloc-overflow.c |
|
H A D | getline-unixapi.c | 18 size_t n = 0; in test_getline_null_lineptr() local 37 size_t n = 8; in test_getline_null_buffer_size_gt0() local 43 void test_getline_null_buffer_size_gt0_2(size_t n) { in test_getline_null_buffer_size_gt0_2() 55 void test_getline_null_buffer_unknown_size(size_t n) { in test_getline_null_buffer_unknown_size() 72 size_t n; in test_getline_null_buffer_undef_size() local 85 size_t n = 0; in test_getline_buffer_size_0() local 98 size_t n = 100; in test_getline_buffer_bad_size() local 111 size_t n = 10; in test_getline_buffer_smaller_size() local 124 size_t n; in test_getline_buffer_undef_size() local 137 size_t n = 0; in test_getline_null_buffer() local [all …]
|
/llvm-project/clang/test/CodeGen/ |
H A D | alloc-fns-alignment.c | 16 void *malloc_test(size_t n) { in malloc_test() 20 void *calloc_test(size_t n) { in calloc_test() 24 void *realloc_test(void *p, size_t n) { in realloc_test() 28 void *aligned_alloc_variable_test(size_t n, size_t a) { in aligned_alloc_variable_test() 32 void *memalign_variable_test(size_t n, size_t a) { in memalign_variable_test() 36 void *aligned_alloc_constant_test(size_t n) { in aligned_alloc_constant_test() 40 void *aligned_alloc_large_constant_test(size_t n) { in aligned_alloc_large_constant_test() 44 void *memalign_large_constant_test(size_t n) { in memalign_large_constant_test()
|
H A D | sanitize-coverage.c | 13 void foo(int n) { in foo() 27 static inline __attribute__((__always_inline__)) void always_inlined_fn(int n) { in always_inlined_fn() 32 void test_always_inline(int n) { in test_always_inline() 39 __attribute__((no_sanitize("coverage"))) void test_no_sanitize_coverage(int n) { in test_no_sanitize_coverage() 56 void test_no_sanitize_combined(int n) { in test_no_sanitize_combined() 76 void test_no_sanitize_separate(int n) { in test_no_sanitize_separate() 99 void test_no_sanitize_always_inline(int n) { in test_no_sanitize_always_inline()
|
H A D | ubsan-pass-object-size.c | 4 int foo(int *const p __attribute__((pass_object_size(0))), int n) { in foo() 29 ZeroSizedType bar(ZeroSizedType *const p __attribute__((pass_object_size(0))), int n) { in bar() 36 int baz(int *const p __attribute__((pass_object_size(1))), int n) { in baz() 43 int mat(int *const p __attribute__((pass_object_size(2))), int n) { in mat() 50 int pat(int *const p __attribute__((pass_object_size(3))), int n) { in pat() 57 int cat(int p[static 10], int n) { in cat() 64 int bat(int n, int p[n]) { in bat()
|
H A D | arm-cde-vfp.c | 39 uint32_t test_vcx2_u32(uint32_t n) { in test_vcx2_u32() 51 uint32_t test_vcx2a_u32(uint32_t acc, uint32_t n) { in test_vcx2a_u32() 63 uint32_t test_vcx3_u32(uint32_t n, uint32_t m) { in test_vcx3_u32() 76 uint32_t test_vcx3a_u32(uint32_t acc, uint32_t n, uint32_t m) { in test_vcx3a_u32() 108 uint64_t test_vcx2d_u64(uint64_t n) { in test_vcx2d_u64() 120 uint64_t test_vcx2da_u64(uint64_t acc, uint64_t n) { in test_vcx2da_u64() 132 uint64_t test_vcx3d_u64(uint64_t n, uint64_t m) { in test_vcx3d_u64() 145 uint64_t test_vcx3da_u64(uint64_t acc, uint64_t n, uint64_t m) { in test_vcx3da_u64()
|
H A D | arm-cde-gpr.c | 67 uint32_t test_cx2(uint32_t n) { in test_cx2() 76 uint32_t test_cx2a(uint32_t acc, uint32_t n) { in test_cx2a() 91 uint64_t test_cx2d(uint32_t n) { in test_cx2d() 109 uint64_t test_cx2da(uint64_t acc, uint32_t n) { in test_cx2da() 118 uint32_t test_cx3(uint32_t n, uint32_t m) { in test_cx3() 127 uint32_t test_cx3a(uint32_t acc, uint32_t n, uint32_t m) { in test_cx3a() 142 uint64_t test_cx3d(uint32_t n, uint32_t m) { in test_cx3d() 160 uint64_t test_cx3da(uint64_t acc, uint32_t n, uint32_t m) { in test_cx3da()
|
H A D | arm-cde-vec.c | 47 uint8x16_t test_vcx2q_u8(float16x8_t n) { in test_vcx2q_u8() 58 float32x4_t test_vcx2q(float32x4_t n) { in test_vcx2q() 70 float32x4_t test_vcx2qa(float32x4_t acc, int64x2_t n) { in test_vcx2qa() 81 uint8x16_t test_vcx3q_u8(uint16x8_t n, int32x4_t m) { in test_vcx3q_u8() 93 uint64x2_t test_vcx3q(uint64x2_t n, float32x4_t m) { in test_vcx3q() 104 int8x16_t test_vcx3qa(int8x16_t acc, uint16x8_t n, float32x4_t m) { in test_vcx3qa() 138 int32x4_t test_vcx2q_m(int32x4_t inactive, float32x4_t n, mve_pred16_t p) { in test_vcx2q_m() 150 float32x4_t test_vcx2qa_m(float32x4_t acc, float16x8_t n, mve_pred16_t p) { in test_vcx2qa_m() 162 int64x2_t test_vcx3q_m(int64x2_t inactive, float32x4_t n, int8x16_t m, mve_pred16_t p) { in test_vcx3q_m() 176 float16x8_t test_vcx3qa_m(float32x4_t inactive, float16x8_t n, uint32x4_t m, mve_pred16_t p) { in test_vcx3qa_m()
|
H A D | allocs-fns-allocsize.c | 11 void *malloc_test(size_t n) { in malloc_test() 15 void *calloc_test(size_t e, size_t n) { in calloc_test() 19 void *realloc_test(void *p, size_t n) { in realloc_test() 23 void *aligned_alloc_test(size_t n, size_t a) { in aligned_alloc_test() 27 void *memalign_test(size_t n, size_t a) { in memalign_test()
|
/llvm-project/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.fallthrough/ |
H A D | p1.cpp | 3 void f(int n) { in f() 15 for (int n = 0; n != 10; ++n) in f() local 46 [[fallthrough]] typedef int n; // expected-error {{'fallthrough' attribute cannot be applied to a d… typedef 47 typedef int [[fallthrough]] n; // expected-error {{'fallthrough' attribute cannot be applied to typ… typedef 48 typedef int n [[fallthrough]]; // expected-error {{'fallthrough' attribute cannot be applied to a d… typedef 55 …[[fallthrough]] int n; // expected-error {{'fallthrough' attribute cannot be applied to a declarat… in g() local
|
/llvm-project/clang/test/SemaOpenMP/ |
H A D | hip-omp-mix.cpp | 54 void test05(int * x, int n) { in test05() 58 void test06(int * x, int n) { in test06() 62 void test07(int * x, int n) { in test07() 81 void test10(int n) { in test10() 87 void test11(int n) { in test11() 93 void test12(int n) { in test12() 99 void test13(int n) { in test13() 105 void test14(int n) { in test14() 111 void test15(int n) { in test15() 117 void test16(int n) { in test16() [all …]
|
/llvm-project/libcxx/test/support/ |
H A D | count_new.h | 182 checkOutstandingNewEq(int n) checkOutstandingNewEq() argument 187 checkOutstandingNewLessThanOrEqual(int n) checkOutstandingNewLessThanOrEqual() argument 192 checkOutstandingNewNotEq(int n) checkOutstandingNewNotEq() argument 197 checkNewCalledEq(int n) checkNewCalledEq() argument 202 checkNewCalledNotEq(int n) checkNewCalledNotEq() argument 207 checkNewCalledGreaterThan(int n) checkNewCalledGreaterThan() argument 212 checkDeleteCalledEq(int n) checkDeleteCalledEq() argument 217 checkDeleteCalledNotEq(int n) checkDeleteCalledNotEq() argument 222 checkDeleteCalledGreaterThan(int n) checkDeleteCalledGreaterThan() argument 227 checkAlignedNewCalledEq(int n) checkAlignedNewCalledEq() argument 232 checkAlignedNewCalledNotEq(int n) checkAlignedNewCalledNotEq() argument 237 checkAlignedNewCalledGreaterThan(int n) checkAlignedNewCalledGreaterThan() argument 242 checkAlignedDeleteCalledEq(int n) checkAlignedDeleteCalledEq() argument 247 checkAlignedDeleteCalledNotEq(int n) checkAlignedDeleteCalledNotEq() argument 252 checkLastNewSizeEq(std::size_t n) checkLastNewSizeEq() argument 257 checkLastNewSizeNotEq(std::size_t n) checkLastNewSizeNotEq() argument 262 checkLastNewSizeGe(std::size_t n) checkLastNewSizeGe() argument 267 checkLastNewAlignEq(std::size_t n) checkLastNewAlignEq() argument 272 checkLastNewAlignNotEq(std::size_t n) checkLastNewAlignNotEq() argument 277 checkLastNewAlignGe(std::size_t n) checkLastNewAlignGe() argument 282 checkLastDeleteAlignEq(std::size_t n) checkLastDeleteAlignEq() argument 287 checkLastDeleteAlignNotEq(std::size_t n) checkLastDeleteAlignNotEq() argument 292 checkOutstandingArrayNewEq(int n) checkOutstandingArrayNewEq() argument 297 checkOutstandingArrayNewNotEq(int n) checkOutstandingArrayNewNotEq() argument 302 checkNewArrayCalledEq(int n) checkNewArrayCalledEq() argument 307 checkNewArrayCalledNotEq(int n) checkNewArrayCalledNotEq() argument 312 checkDeleteArrayCalledEq(int n) checkDeleteArrayCalledEq() argument 317 checkDeleteArrayCalledNotEq(int n) checkDeleteArrayCalledNotEq() argument 322 checkAlignedNewArrayCalledEq(int n) checkAlignedNewArrayCalledEq() argument 327 checkAlignedNewArrayCalledNotEq(int n) checkAlignedNewArrayCalledNotEq() argument 332 checkAlignedNewArrayCalledGreaterThan(int n) checkAlignedNewArrayCalledGreaterThan() argument 337 checkAlignedDeleteArrayCalledEq(int n) checkAlignedDeleteArrayCalledEq() argument 342 checkAlignedDeleteArrayCalledNotEq(int n) checkAlignedDeleteArrayCalledNotEq() argument 347 checkLastNewArraySizeEq(std::size_t n) checkLastNewArraySizeEq() argument 352 checkLastNewArraySizeNotEq(std::size_t n) checkLastNewArraySizeNotEq() argument 357 checkLastNewArrayAlignEq(std::size_t n) checkLastNewArrayAlignEq() argument 362 checkLastNewArrayAlignNotEq(std::size_t n) checkLastNewArrayAlignNotEq() argument [all...] |
/llvm-project/libc/test/src/string/ |
H A D | memmem_test.cpp | 18 char *n = nullptr; TEST() local 25 char n[] = {'a', 'b', 'c'}; TEST() local 32 char *n = nullptr; TEST() local 39 char n[] = {'a', 'b', 'c'}; TEST() local 46 char n[] = {'a'}; TEST() local 54 char n[] = {'a', 'a'}; TEST() local 60 char n[] = {'a', 'b', 'a'}; TEST() local 68 char n[] = {'a', 'b'}; TEST() local 76 char n[] = {'a', 'a'}; TEST() local 82 char n[] = {'a', 'a'}; TEST() local 88 char n[] = {'a', '\0'}; TEST() local 94 char n[] = {'\0', '\0'}; TEST() local 103 char n[] = {'x', 'y', 'z'}; TEST() local 109 char n[] = {'b', 'c', 'a'}; TEST() local 118 char n[] = {'c'}; TEST() local 124 char n[] = {'a', 'b', 'c'}; TEST() local [all...] |
/llvm-project/flang/test/Lower/OpenACC/ |
H A D | acc-private.f90 | 179 integer, parameter :: n = 100 variable 263 subroutine acc_private_assumed_shape(a, n) argument 264 integer :: a(:), i, n local 280 subroutine acc_private_allocatable_array(a, n) argument 282 integer :: i, n local 304 subroutine acc_private_pointer_array(a, n) argument 306 integer :: i, n local 323 subroutine acc_private_dynamic_extent(a, n) argument 324 integer :: n, i local 342 subroutine acc_firstprivate_assumed_shape(a, n) argument [all …]
|
/llvm-project/clang/test/CodeGen/X86/ |
H A D | x86-atomic-float.c | 14 static _Atomic int n; in test_int_inc() local 26 static _Atomic float n; in test_float_post_inc() local 38 static _Atomic float n; in test_float_post_dc() local 51 static _Atomic float n; in test_float_pre_dc() local 64 static _Atomic float n; in test_float_pre_inc() local
|
/llvm-project/flang/test/Semantics/ |
H A D | doconcurrent05.f90 | 5 subroutine do_concurrent_test1(n) argument 7 integer :: n local 18 subroutine do_concurrent_test2(n) argument 20 integer :: j,k,n local 27 subroutine do_concurrent_test3(n) argument 29 integer :: j,k,n local 40 subroutine do_concurrent_test4(n) argument 42 integer :: j,k,n local
|
/llvm-project/flang/test/Lower/OpenMP/ |
H A D | simd.f90 | 28 subroutine simd_with_if_clause(n, threshold) local 48 subroutine simd_with_simdlen_clause(n, threshold) local 67 subroutine simd_with_simdlen_clause_from_param(n, threshold) local 26 simd_with_if_clause(n, threshold) global() argument 46 simd_with_simdlen_clause(n, threshold) global() argument 65 simd_with_simdlen_clause_from_param(n, threshold) global() argument 85 simd_with_simdlen_clause_from_expr_from_param(n, threshold) global() argument 87 integer :: i, n, global() local 105 simd_with_safelen_clause(n, threshold) global() argument 107 integer :: i, n, global() local 124 simd_with_safelen_clause_from_expr_from_param(n, threshold) global() argument 126 integer :: i, n, global() local 144 simd_with_simdlen_safelen_clause(n, threshold) global() argument 146 integer :: i, n, global() local 163 simd_with_collapse_clause(n) global() argument 164 integer :: i, j, n global() local [all...] |
/llvm-project/libcxx/test/std/localization/locale.stdcvt/ |
H A D | codecvt_utf16_length.pass.cpp | 47 char n[4] = {char(0xD8), char(0xC0), char(0xDC), char(0x03)}; in test() local 70 char n[4] = {char(0xD8), char(0xC0), char(0xDC), char(0x03)}; in test() local 93 char n[6] = {char(0xFE), char(0xFF), char(0xD8), char(0xC0), char(0xDC), char(0x03)}; in test() local 116 char n[4] = {char(0xC0), char(0xD8), char(0x03), char(0xDC)}; in test() local 139 char n[4] = {char(0xC0), char(0xD8), char(0x03), char(0xDC)}; in test() local 162 char n[6] = {char(0xFF), char(0xFE), char(0xC0), char(0xD8), char(0x03), char(0xDC)}; in test() local 189 char n[4] = {char(0xD8), char(0xC0), char(0xDC), char(0x03)}; in test() local 212 char n[4] = {char(0xD8), char(0xC0), char(0xDC), char(0x03)}; in test() local 235 char n[6] = {char(0xFE), char(0xFF), char(0xD8), char(0xC0), char(0xDC), char(0x03)}; in test() local 258 char n[4] = {char(0xC0), char(0xD8), char(0x03), char(0xDC)}; in test() local [all …]
|