Home
last modified time | relevance | path

Searched refs:P4 (Results 1 – 25 of 70) sorted by relevance

123

/llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.pair/
H A Dassign_rv_pair_U_V.pass.cpp100 using P4 = std::pair<MoveAssignable&&, int>; in test() typedef
101 static_assert(std::is_assignable<P3&, P4&&>::value, ""); in test()
127 using P4 = std::pair<CopyAssignable&&, int>; in test() typedef
128 static_assert(std::is_assignable<P3&, P4&&>::value, ""); in test()
139 using P4 = std::pair<NotAssignable&&, int>; in test() typedef
140 static_assert(!std::is_assignable<P3&, P4&&>::value, ""); in test()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Duniqueptr-delete-release.cpp66 std::unique_ptr<std::unique_ptr<int>> P4; in Positives() local
67 delete (*P4).release(); in Positives()
73 delete P4->release(); in Positives()
79 delete (P4)->release(); in Positives()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dobjcbridge-attribute.m61 @protocol P4 @end protocol
88 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka 'struct __CFErrorRef *') bridges…
96 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFMyErrorRef' (aka 'struct __CFMyErrorRef *') bri…
99 void Test5(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
107 void Test6(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
118 @interface MyPersonalError : NSError <P4> // expected-note 1 {{declared here}}
121 void Test7(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
134 (void)(id<P1, P2, P3, P4>)cf; // ok
135 …P3, P4, P5>)cf; // expected-warning {{'CFMyPersonalErrorRef' (aka 'struct __CFMyPersonalErrorRef *…
H A Dobjcbridge-attribute-arc.m58 @protocol P4 @end protocol
110 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka 'struct __CFErrorRef *') bridges…
111 …orRef' (aka 'struct __CFErrorRef *') to Objective-C pointer type 'id<P1,P2,P4>' requires a bridged…
129 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFMyErrorRef' (aka 'struct __CFMyErrorRef *') bri…
135 void Test5(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
142 …(void)(CFErrorRef)P1234; // expected-error {{cast of Objective-C pointer type 'id<P1,P2,P3,P4>' to…
153 void Test6(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
174 @interface MyPersonalError : NSError <P4> // expected-note 1 {{declared here}}
177 void Test7(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
208P4>)cf; // expected-error {{cast of C pointer type 'CFMyPersonalErrorRef' (aka 'struct __CFMyPerso…
[all …]
H A Dproperty-12.m19 @protocol P4 protocol
53 @interface I4 <P4> @end
/llvm-project-15.0.7/clang/test/Modules/Inputs/
H A Dredecl-merge-bottom.h5 @protocol P4;
6 @protocol P4;
7 @protocol P4;
H A Dcategory_right_sub.h11 @protocol P4
16 @interface Foo(LeftP4) <P4>
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/memory/pointer.conversion/
H A Dto_address.pass.cpp44 struct P4 { struct
45 TEST_CONSTEXPR explicit P4(int *p) : p_(p) { } in P4() function
51 struct std::pointer_traits<P4> { argument
52 static TEST_CONSTEXPR int *to_address(const P4& p) { return p.p_; } in to_address()
119 P4 p4(&i); in test()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/pointer.conversion/
H A Dto_address.pass.cpp46 struct P4 { struct
47 constexpr explicit P4(int *p) : p_(p) { } in P4() argument
53 struct std::pointer_traits<P4> { argument
54 static constexpr int *to_address(const P4& p) { return p.p_; } in to_address()
121 P4 p4(&i); in test()
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dobjcbridge-attribute-arc.mm43 @protocol P4 @end protocol
95 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka '__CFErrorRef *') bridges to NSE…
96 … 'CFErrorRef' (aka '__CFErrorRef *') to Objective-C pointer type 'id<P1,P2,P4>' requires a bridged…
114 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFMyErrorRef' (aka '__CFMyErrorRef *') bridges to…
120 void Test5(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
127 …(void)(CFErrorRef)P1234; // expected-error {{cast of Objective-C pointer type 'id<P1,P2,P3,P4>' to…
138 void Test6(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
159 @interface MyPersonalError : NSError <P4> // expected-note 1 {{declared here}}
162 void Test7(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
193P4>)cf; // expected-error {{cast of C pointer type 'CFMyPersonalErrorRef' (aka '__CFMyPersonalErr…
[all …]
H A Dobjcbridge-attribute.mm43 @protocol P4 @end protocol
95 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka '__CFErrorRef *') bridges to NSE…
96 … 'CFErrorRef' (aka '__CFErrorRef *') to Objective-C pointer type 'id<P1,P2,P4>' requires a bridged…
114 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFMyErrorRef' (aka '__CFMyErrorRef *') bridges to…
120 void Test5(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
127 …(void)(CFErrorRef)P1234; // expected-error {{cast of Objective-C pointer type 'id<P1,P2,P3,P4>' to…
138 void Test6(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
159 @interface MyPersonalError : NSError <P4> // expected-note 1 {{declared here}}
162 void Test7(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
193P4>)cf; // expected-error {{cast of C pointer type 'CFMyPersonalErrorRef' (aka '__CFMyPersonalErr…
[all …]
H A Dobjcbridge-static-cast.mm43 @protocol P4 @end protocol
95 …static_cast< id<P1, P2, P4> >(cf); // expected-warning {{'CFErrorRef' (aka '__CFErrorRef *') bridg…
96 … 'CFErrorRef' (aka '__CFErrorRef *') to Objective-C pointer type 'id<P1,P2,P4>' requires a bridged…
114 …atic_cast< id<P1, P2, P4> >(cf); // expected-warning {{'CFMyErrorRef' (aka '__CFMyErrorRef *') bri…
115 …MyErrorRef' (aka '__CFMyErrorRef *') to Objective-C pointer type 'id<P1,P2,P4>' requires a bridged…
120 void Test5(id<P1, P2, P3> P123, id ID, id<P1, P2, P3, P4> P1234, id<P1, P2> P12, id<P2, P3> P23) {
127 …(P1234); // expected-error {{cast of Objective-C pointer type 'id<P1,P2,P3,P4>' to C pointer type …
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Dmake-shared.cpp77 auto P4 = std::shared_ptr<int>(new int()); in basic() local
87 P4.reset((((new int())))); in basic()
90 P4.reset((((new int)))); in basic()
92 P4 = std::shared_ptr<int>(((new int()))); in basic()
95 P4 = std::shared_ptr<int>(((new int))); in basic()
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-protocol-conformance.m.result54 @protocol P4
58 @interface Test5 : NSObject<P3, P4>
65 @protocol P5 <P3, P4>
69 @protocol P6 <P3, P4, P5>
H A Dobjcmt-protocol-conformance.m54 @protocol P4 protocol
65 @protocol P5 <P3, P4>
69 @protocol P6 <P3, P4, P5>
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dpartial-reinitialization1.c55 struct P4 { struct
60 struct P4 l4 = { { L"foo" }, .x[2] = L'x' }; argument
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.callable/concept.strictweakorder/
H A Dstrict_weak_order.compile.pass.cpp51 struct P4 { struct
57 static_assert(std::strict_weak_order<P4, S1, S2>);
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.callable/concept.relation/
H A Drelation.compile.pass.cpp50 struct P4 { struct
56 static_assert(std::relation<P4, S1, S2>);
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.callable/concept.equiv/
H A Dequivalence_relation.compile.pass.cpp52 struct P4 { struct
58 static_assert(std::equivalence_relation<P4, S1, S2>);
/llvm-project-15.0.7/clang/test/Driver/
H A Dhip-phases.hip31 // BIN-DAG: [[P5:[0-9]+]]: compiler, {[[P4]]}, ir, (device-[[T]], [[ARCH]])
80 // NRD2-DAG: [[P5:[0-9]+]]: compiler, {[[P4]]}, ir, (device-[[T]], [[ARCH1]])
118 // RDC2-DAG: [[P5:[0-9]+]]: compiler, {[[P4]]}, ir, (device-[[T]], [[ARCH1]])
171 // HBIN-DAG: [[P4:[0-9]+]]: assembler, {[[P3]]}, object, (host-[[T]])
172 // HBIN-DAG: [[P5:[0-9]+]]: linker, {[[P4]]}, image, (host-[[T]])
198 // HBIN2-DAG: [[P4:[0-9]+]]: assembler, {[[P3]]}, object, (host-[[T]])
199 // HBIN2-DAG: [[P5:[0-9]+]]: linker, {[[P4]]}, image, (host-[[T]])
226 // DBIN-DAG: [[P4:[0-9]+]]: assembler, {[[P3]]}, object, (device-[[T]], [[ARCH]])
227 // DBIN-DAG: [[P5:[0-9]+]]: linker, {[[P4]]}, image, (device-[[T]], [[ARCH]])
259 // DBIN2-DAG: [[P5:[0-9]+]]: linker, {[[P4]]}, image, (device-[[T]], [[ARCH]])
[all …]
/llvm-project-15.0.7/clang/test/Modules/
H A Dobjc-categories.m50 id<P4> p4;
54 id p4p = p4.p4_prop; // expected-error{{property 'p4_prop' not found on object of type 'id<P4>'}}
75 id<P4> p4;
77 id p4p = p4.p4_prop; // expected-error{{property 'p4_prop' not found on object of type 'id<P4>'}}
93 id<P4> p4;
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dshared-ptr-array-mismatch.cpp27 std::shared_ptr<int> P4(new int[10]); in f1() local
54 std::shared_ptr<int> P3{new int}, P4{new int[10]}; member
/llvm-project-15.0.7/llvm/test/Transforms/DeadStoreElimination/
H A DOverwriteStoreBegin.ll139 ; CHECK-NEXT: [[P4:%.*]] = bitcast i32* [[P]] to i64*
140 ; CHECK-NEXT: store i64 1, i64* [[P4]], align 8
159 ; CHECK-NEXT: [[P4:%.*]] = bitcast i32* [[P]] to i64*
178 ; CHECK-NEXT: [[P4:%.*]] = bitcast i32* [[P]] to i64*
179 ; CHECK-NEXT: store i64 1, i64* [[P4]], align 8
198 ; CHECK-NEXT: [[P4:%.*]] = bitcast i32* [[P]] to i64*
248 ; CHECK-NEXT: [[P4:%.*]] = bitcast i32* [[P]] to i16*
249 ; CHECK-NEXT: store i16 1, i16* [[P4]], align 4
265 ; CHECK-NEXT: [[P4:%.*]] = bitcast i32* [[P]] to i16*
284 ; CHECK-NEXT: [[P4:%.*]] = bitcast i32* [[P]] to i16*
[all …]
/llvm-project-15.0.7/libc/AOR_v20.02/math/
H A Dv_logf.c21 #define P4 v_f32 (Poly[3]) macro
61 q = v_fma_f32 (P4, r, P3); in V_NAME()
/llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/X86/
H A Ddifferent-vec-widths.ll17 ; SSE-NEXT: [[P4:%.*]] = getelementptr inbounds double, double* [[P]], i64 4
31 ; SSE-NEXT: [[TMP9:%.*]] = bitcast double* [[P4]] to <2 x double>*
40 ; AVX-NEXT: [[P4:%.*]] = getelementptr inbounds double, double* [[P]], i64 4
48 ; AVX-NEXT: [[TMP5:%.*]] = bitcast double* [[P4]] to <2 x double>*

123