/external/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.req/ |
D | equivalence.cpp | 10 template<typename T> requires requires { typename identity_t<T>; } 12 template<typename U> requires requires { typename identity_t<U>; } // expected-note{{previous templ… 14 template<typename T> requires requires { typename identity_t<T*>; } // expected-error{{requires cla… 16 template<typename T> requires requires { typename ::identity_t<T>; } 19 template<typename Y> requires requires { typename identity<Y>::type; } 21 template<typename U> requires requires { typename identity<U>::type; } 23 template<typename T> requires requires { typename ::identity<T>::type; } // expected-note 2{{previo… 25 template<typename T> requires requires { typename identity<T>::typr; } // expected-error{{requires … 30 template<typename T> requires requires { typename ns::identity<T>::type; } // expected-error{{requi… 33 template<typename T> requires requires { typename T::template identity<T>::type; } [all …]
|
D | type-requirement.cpp | 16 static_assert(requires { typename A; typename ::A; }); 17 static_assert(requires { typename identity_t<A>; typename ::identity_t<A>; }); 18 static_assert(!requires { typename identity_t<A, A>; }); // expected-error{{too many template argum… 19 static_assert(!requires { typename ::identity_t<A, A>; }); // expected-error{{too many template arg… 20 static_assert(requires { typename identity<A>; }); 21 static_assert(!requires { typename identity; }); 23 static_assert(!requires { typename ::identity; }); 25 static_assert(!requires { typename identity_t; }); 27 static_assert(!requires { typename ::identity_t; }); 34 static_assert(requires { typename A; typename B; typename ::A; }); [all …]
|
D | requires-expr.cpp | 14 static_assert(requires { requires true; 0; typename A; 16 static_assert(is_same_v<bool, decltype(requires { requires false; })>); 21 static constexpr bool r = requires { i; }; 24 template<typename T> requires requires (T t) { 25 requires false; // expected-note{{because 'false' evaluated to false}} 26 requires false; 27 requires requires { 28 requires false; 36 template<typename T> requires requires (T t) { 37 requires requires { [all …]
|
D | nested-requirement.cpp | 3 static_assert(requires { requires true; }); 5 template<typename T> requires requires { requires false; } // expected-note{{because 'false' evalua… 10 template<typename T> requires requires { requires sizeof(T) == 0; } // expected-note{{because 'size… 15 template<typename T> requires requires (T t) { requires sizeof(t) == 0; } // expected-note{{because… 22 …template<typename U> requires requires (U u) { requires sizeof(u) == sizeof(T); } // expected-note… 32 requires (T t) { 33 …requires C1<decltype (+t)>; // expected-note{{because 'decltype(+t)' (aka 'int') does not satisfy … 42 concept C2 = requires (T a) { 43 requires sizeof(a) == 4; // OK 44 …requires a == 0; // expected-note{{because 'a == 0' would be invalid: constraint variable 'a' cann…
|
D | compound-requirement.cpp | 3 static_assert(requires { { 0 }; }); 4 static_assert(requires { { "aaaa" }; }); 5 static_assert(requires { { (0).da }; }); // expected-error{{member reference base type 'int' is not… 8 static_assert(requires { { foo() }; }); 20 template<typename T> requires requires (T a, const T& b) { { a + b }; } // expected-note{{because '… 30 template<typename T> requires requires (T a) { { a.foo() }; } // expected-note{{because 'a.foo()' w… 38 template<typename T> requires requires { { sizeof(T) }; } // expected-note{{because 'sizeof(T)' wou… 49 template<typename T> requires requires (T t) { { 0 }; { "a" }; { (void)'a' }; } 58 static_assert(!requires { { maythrow() } noexcept; }); 59 static_assert(requires { { 1 } noexcept; }); [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | spv.vulkan100.subgroupPartitioned.comp.out | 2 ERROR: 0:19: 'subgroup op' : requires SPIR-V 1.3 3 ERROR: 0:21: 'subgroup op' : requires SPIR-V 1.3 4 ERROR: 0:22: 'subgroup op' : requires SPIR-V 1.3 5 ERROR: 0:23: 'subgroup op' : requires SPIR-V 1.3 6 ERROR: 0:24: 'subgroup op' : requires SPIR-V 1.3 7 ERROR: 0:26: 'subgroup op' : requires SPIR-V 1.3 8 ERROR: 0:27: 'subgroup op' : requires SPIR-V 1.3 9 ERROR: 0:28: 'subgroup op' : requires SPIR-V 1.3 10 ERROR: 0:29: 'subgroup op' : requires SPIR-V 1.3 11 ERROR: 0:31: 'subgroup op' : requires SPIR-V 1.3 [all …]
|
D | spv.vulkan100.subgroupArithmetic.comp.out | 2 ERROR: 0:19: 'subgroup op' : requires SPIR-V 1.3 3 ERROR: 0:20: 'subgroup op' : requires SPIR-V 1.3 4 ERROR: 0:21: 'subgroup op' : requires SPIR-V 1.3 5 ERROR: 0:22: 'subgroup op' : requires SPIR-V 1.3 6 ERROR: 0:24: 'subgroup op' : requires SPIR-V 1.3 7 ERROR: 0:25: 'subgroup op' : requires SPIR-V 1.3 8 ERROR: 0:26: 'subgroup op' : requires SPIR-V 1.3 9 ERROR: 0:27: 'subgroup op' : requires SPIR-V 1.3 10 ERROR: 0:29: 'subgroup op' : requires SPIR-V 1.3 11 ERROR: 0:30: 'subgroup op' : requires SPIR-V 1.3 [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.vulkan100.subgroupPartitioned.comp.out | 2 ERROR: 0:19: 'subgroup op' : requires SPIR-V 1.3 3 ERROR: 0:21: 'subgroup op' : requires SPIR-V 1.3 4 ERROR: 0:22: 'subgroup op' : requires SPIR-V 1.3 5 ERROR: 0:23: 'subgroup op' : requires SPIR-V 1.3 6 ERROR: 0:24: 'subgroup op' : requires SPIR-V 1.3 7 ERROR: 0:26: 'subgroup op' : requires SPIR-V 1.3 8 ERROR: 0:27: 'subgroup op' : requires SPIR-V 1.3 9 ERROR: 0:28: 'subgroup op' : requires SPIR-V 1.3 10 ERROR: 0:29: 'subgroup op' : requires SPIR-V 1.3 11 ERROR: 0:31: 'subgroup op' : requires SPIR-V 1.3 [all …]
|
D | spv.vulkan100.subgroupArithmetic.comp.out | 2 ERROR: 0:19: 'subgroup op' : requires SPIR-V 1.3 3 ERROR: 0:20: 'subgroup op' : requires SPIR-V 1.3 4 ERROR: 0:21: 'subgroup op' : requires SPIR-V 1.3 5 ERROR: 0:22: 'subgroup op' : requires SPIR-V 1.3 6 ERROR: 0:24: 'subgroup op' : requires SPIR-V 1.3 7 ERROR: 0:25: 'subgroup op' : requires SPIR-V 1.3 8 ERROR: 0:26: 'subgroup op' : requires SPIR-V 1.3 9 ERROR: 0:27: 'subgroup op' : requires SPIR-V 1.3 10 ERROR: 0:29: 'subgroup op' : requires SPIR-V 1.3 11 ERROR: 0:30: 'subgroup op' : requires SPIR-V 1.3 [all …]
|
/external/llvm-project/clang/test/Parser/ |
D | cxx2a-concepts-requires-expr.cpp | 3 bool r1 = requires () {}; 6 bool r2 = requires { requires true; }; 8 bool r3 = requires (int a, ...) { requires true; }; 12 bool r4 = requires (T... ts) { requires true; }; 14 bool r5 = requires (bool c, int d) { c; d; }; 16 bool r6 = requires (bool c, int d) { c; d; } && decltype(d){}; 19 bool r7 = requires (bool c) { c; (requires (int d) { c; d; }); d; } && decltype(c){} && decltype(d)… 23 bool r8 = requires (bool, int) { requires true; }; 25 bool r9 = requires (bool a, int a) { requires true; }; 29 bool r10 = requires (struct new_struct { int x; } s) { requires true; }; [all …]
|
D | cxx-concepts-requires-clause.cpp | 5 template <typename T> requires true 8 template <typename T> requires (!0) 15 template <typename> requires true 18 template <typename> requires true 21 template <typename> requires true 24 template <typename TT> requires true 28 template <typename T> requires (!0) 31 template <typename T> requires (!0) 34 template <typename T> requires (!0) 37 template <typename T> requires (!0) [all …]
|
/external/llvm-project/clang/test/SemaTemplate/ |
D | instantiate-requires-expr.cpp | 25 template<typename T> requires 26 false_v<requires (T t) { requires is_same_v<decltype(t), int>; }> 36 template<typename... Ts> requires 37 false_v<requires (Ts... ts) {requires ((sizeof(ts) == 2) && ...);}> 45 template<typename... Ts> requires 46 false_v<(requires (Ts ts) {requires sizeof(ts) != 0;} && ...)> 61 …template<typename T> requires false_v<requires { typename T::type; }> // expected-note{{because 'f… 69 template<typename U> requires is_same_v<contains_template<T>, U> 73 template<typename T> requires 74 false_v<requires { typename T::template temp<T>; }> [all …]
|
/external/llvm/test/MC/ARM/ |
D | fullfp16-neon-neg.s | 8 @ CHECK: error: instruction requires: 9 @ CHECK: error: instruction requires: 13 @ CHECK: error: instruction requires: 14 @ CHECK: error: instruction requires: 18 @ CHECK: error: instruction requires: 19 @ CHECK: error: instruction requires: 23 @ CHECK: error: instruction requires: 24 @ CHECK: error: instruction requires: 28 @ CHECK: error: instruction requires: 29 @ CHECK: error: instruction requires: [all …]
|
D | fullfp16-neg.s | 5 @ CHECK: error: instruction requires: 8 @ CHECK: error: instruction requires: 11 @ CHECK: error: instruction requires: 14 @ CHECK: error: instruction requires: 17 @ CHECK: error: instruction requires: 20 @ CHECK: error: instruction requires: 23 @ CHECK: error: instruction requires: 26 @ CHECK: error: instruction requires: 29 @ CHECK: error: instruction requires: 32 @ CHECK: error: instruction requires: [all …]
|
D | directive-arch_extension-fp.s | 20 @ CHECK-V7: error: instruction requires: FPARMv8 23 @ CHECK-V7: error: instruction requires: FPARMv8 25 @ CHECK-V7: error: instruction requires: FPARMv8 27 @ CHECK-V7: error: instruction requires: FPARMv8 29 @ CHECK-V7: error: instruction requires: FPARMv8 31 @ CHECK-V7: error: instruction requires: FPARMv8 33 @ CHECK-V7: error: instruction requires: FPARMv8 36 @ CHECK-V7: error: instruction requires: FPARMv8 38 @ CHECK-V7: error: instruction requires: FPARMv8 40 @ CHECK-V7: error: instruction requires: FPARMv8 [all …]
|
D | directive-arch_extension-simd.s | 20 @ CHECK-V7: error: instruction requires: FPARMv8 22 @ CHECK-V7: error: instruction requires: FPARMv8 25 @ CHECK-V7: error: instruction requires: FPARMv8 27 @ CHECK-V7: error: instruction requires: FPARMv8 30 @ CHECK-V7: error: instruction requires: FPARMv8 32 @ CHECK-V7: error: instruction requires: FPARMv8 34 @ CHECK-V7: error: instruction requires: FPARMv8 36 @ CHECK-V7: error: instruction requires: FPARMv8 38 @ CHECK-V7: error: instruction requires: FPARMv8 40 @ CHECK-V7: error: instruction requires: FPARMv8 [all …]
|
/external/llvm-project/llvm/test/MC/ARM/ |
D | directive-arch_extension-fp.s | 20 @ CHECK-V7: instruction requires: FPARMv8 23 @ CHECK-V7: instruction requires: FPARMv8 25 @ CHECK-V7: instruction requires: FPARMv8 27 @ CHECK-V7: instruction requires: FPARMv8 29 @ CHECK-V7: instruction requires: FPARMv8 31 @ CHECK-V7: instruction requires: FPARMv8 33 @ CHECK-V7: instruction requires: FPARMv8 36 @ CHECK-V7: instruction requires: FPARMv8 38 @ CHECK-V7: instruction requires: FPARMv8 40 @ CHECK-V7: instruction requires: FPARMv8 [all …]
|
D | fullfp16-neon-neg.s | 8 @ CHECK: instruction requires: {{full half-float|NEON}} 9 @ CHECK: instruction requires: {{full half-float|NEON}} 13 @ CHECK: instruction requires: {{full half-float|NEON}} 14 @ CHECK: instruction requires: {{full half-float|NEON}} 18 @ CHECK: instruction requires: {{full half-float|NEON}} 19 @ CHECK: instruction requires: {{full half-float|NEON}} 23 @ CHECK: instruction requires: {{full half-float|NEON}} 24 @ CHECK: instruction requires: {{full half-float|NEON}} 28 @ CHECK: instruction requires: {{full half-float|NEON}} 29 @ CHECK: instruction requires: {{full half-float|NEON}} [all …]
|
D | fullfp16-neg.s | 5 @ CHECK: instruction requires: full half-float 8 @ CHECK: instruction requires: full half-float 11 @ CHECK: instruction requires: full half-float 14 @ CHECK: instruction requires: full half-float 17 @ CHECK: instruction requires: full half-float 20 @ CHECK: instruction requires: full half-float 23 @ CHECK: instruction requires: full half-float 26 @ CHECK: instruction requires: full half-float 29 @ CHECK: instruction requires: full half-float 32 @ CHECK: instruction requires: full half-float [all …]
|
D | directive-arch_extension-simd.s | 20 @ CHECK-V7: error: instruction requires: FPARMv8 22 @ CHECK-V7: error: instruction requires: FPARMv8 25 @ CHECK-V7: error: instruction requires: FPARMv8 27 @ CHECK-V7: error: instruction requires: FPARMv8 30 @ CHECK-V7: error: instruction requires: FPARMv8 32 @ CHECK-V7: error: instruction requires: FPARMv8 34 @ CHECK-V7: error: instruction requires: FPARMv8 36 @ CHECK-V7: error: instruction requires: FPARMv8 38 @ CHECK-V7: error: instruction requires: FPARMv8 40 @ CHECK-V7: error: instruction requires: FPARMv8 [all …]
|
/external/llvm-project/clang/test/OpenMP/ |
D | requires_messages.cpp | 4 #pragma omp requires unified_address allocate(a) // expected-note {{unified_address clause previous… 6 #pragma omp requires unified_shared_memory // expected-note {{unified_shared_memory clause previous… 8 #pragma omp requires unified_shared_memory, unified_shared_memory // expected-error {{Only one unif… 10 #pragma omp requires unified_address // expected-error {{Only one unified_address clause can appear… 12 #pragma omp requires unified_address, unified_address // expected-error {{Only one unified_address … 14 #pragma omp requires reverse_offload // expected-note {{reverse_offload clause previously used here… 16 #pragma omp requires reverse_offload, reverse_offload // expected-error {{Only one reverse_offload … 18 #pragma omp requires dynamic_allocators // expected-note {{dynamic_allocators clause previously use… 20 #pragma omp requires dynamic_allocators, dynamic_allocators // expected-error {{Only one dynamic_al… 22 #pragma omp requires atomic_default_mem_order(seq_cst) // expected-note {{atomic_default_mem_order … [all …]
|
/external/clang/test/Parser/ |
D | cxx-concepts-requires-clause.cpp | 6 template <typename T> requires true 10 template <typename T> requires !0 17 template <typename> requires true 20 template <typename> requires true 23 template <typename> requires true 26 template <typename TT> requires true 30 template <typename T> requires !0 33 template <typename T> requires !0 36 template <typename T> requires !0 39 template <typename T> requires !0 [all …]
|
/external/llvm/test/MC/SystemZ/ |
D | insn-bad-zEC12.s | 5 #CHECK: error: {{(instruction requires: vector)?}} 91 #CHECK: error: {{(instruction requires: vector)?}} 93 #CHECK: error: {{(instruction requires: vector)?}} 95 #CHECK: error: {{(instruction requires: vector)?}} 97 #CHECK: error: {{(instruction requires: vector)?}} 99 #CHECK: error: {{(instruction requires: vector)?}} 108 #CHECK: error: {{(instruction requires: vector)?}} 110 #CHECK: error: {{(instruction requires: vector)?}} 112 #CHECK: error: {{(instruction requires: vector)?}} 114 #CHECK: error: {{(instruction requires: vector)?}} [all …]
|
/external/llvm-project/clang/test/Modules/ |
D | target-features.m | 28 // AARCH32-NOT: module 'TargetFeatures' requires 29 // AARCH64-NOT: module 'TargetFeatures' requires 30 // X86_32-NOT: module 'TargetFeatures' requires 31 // X86_64-NOT: module 'TargetFeatures' requires 32 // RISCV32-NOT: module 'TargetFeatures' requires 33 // RISCV64-NOT: module 'TargetFeatures' requires 35 // AARCH32-NOT: module 'TargetFeatures.arm' requires 36 // AARCH64-NOT: module 'TargetFeatures.arm' requires 37 // X86_32: module 'TargetFeatures.arm' requires feature 'arm' 38 // X86_64: module 'TargetFeatures.arm' requires feature 'arm' [all …]
|
/external/llvm-project/llvm/test/MC/SystemZ/ |
D | insn-bad-zEC12.s | 65 #CHECK: error: instruction requires: dfp-packed-conversion 152 #CHECK: error: instruction requires: dfp-packed-conversion 157 #CHECK: error: instruction requires: dfp-packed-conversion 176 #CHECK: error: instruction requires: dfp-packed-conversion 291 #CHECK: error: instruction requires: vector 328 #CHECK: error: instruction requires: load-store-on-cond-2 333 #CHECK: error: instruction requires: load-store-on-cond-2 368 #CHECK: error: instruction requires: message-security-assist-extension5 438 #CHECK: error: instruction requires: vector 440 #CHECK: error: instruction requires: vector [all …]
|