| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/objc/ |
| H A D | property-declaration.m | 11 @property(assign, nonatomic) int NotCamelCase; 14 @property(assign, nonatomic) int camelCase; 24 @property(assign, nonatomic) int centerX; 27 @property(assign, nonatomic) int enableGLAcceleration; 28 @property(assign, nonatomic) int ID; 29 @property(assign, nonatomic) int hasADog; 36 @property(assign, nonatomic) int abc_NotCamelCase; 38 @property(assign, nonatomic) int abCD_camelCase; 41 @property(assign, nonatomic) int abCD_NotCamelCase; 44 @property(assign, nonatomic) int wrongFormat_; [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/ |
| H A D | assign.pass.cpp | 38 static_assert(noexcept(e.assign(p)) == false, in TEST_CASE() 43 e.assign(p2); in TEST_CASE() 45 e.assign(p); in TEST_CASE() 59 static_assert(noexcept(e.assign(p, ec)) == false, in TEST_CASE() 65 ent.assign(p2, ec); in TEST_CASE() 80 ent.assign(file); in TEST_CASE() 90 ent.assign(sym); in TEST_CASE() 117 ent.assign(file, ec); in TEST_CASE() 132 ent.assign(file, ec); in TEST_CASE() 138 ent.assign(sym_in_dir, ec); in TEST_CASE() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/ |
| H A D | T_size_size.pass.cpp | 27 s.assign(sv, pos, n); in test() 36 s.assign(sv, pos, n); in test() 53 s.assign(sv, pos); in test_npos() 62 s.assign(sv, pos); in test_npos() 151 s.assign(sv, 0); // calls assign(T, pos, npos) in test() 159 s.assign(arr, 0); // calls assign(const char *, len) in test() 167 s.assign(arr, 0); // calls assign(const char *, len) in test() 175 s.assign(sv); in test() 179 s.assign(sv, 0, std::string::npos); in test() 186 s.assign(sv); in test() [all …]
|
| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | GC-no-finalize-removal.m | 51 @property (assign) I3 *__weak pw1, *__weak pw2; 52 @property (assign) I3 *__strong ps; 53 @property (assign) I3 * pds; 62 @property (assign) I4Impl *__weak pw1, *__weak pw2; 63 @property (assign) I4Impl *__strong ps; 64 @property (assign) I4Impl * pds; 65 @property (assign) I4Impl * pds2; 69 @property (assign) __weak I4Impl *pw4; 82 @property (assign) id assign_prop; 83 @property (assign, readonly) id __strong strong_readonly_prop; [all …]
|
| H A D | GC.m | 51 @property (assign) I3 *__weak pw1, *__weak pw2; 52 @property (assign) I3 *__strong ps; 53 @property (assign) I3 * pds; 62 @property (assign) I4Impl *__weak pw1, *__weak pw2; 63 @property (assign) I4Impl *__strong ps; 64 @property (assign) I4Impl * pds; 65 @property (assign) I4Impl * pds2; 69 @property (assign) __weak I4Impl *pw4; 82 @property (assign) id assign_prop; 83 @property (assign, readonly) id __strong strong_readonly_prop; [all …]
|
| H A D | GC-no-arc-runtime.m | 54 @property (assign) I3 *__weak pw1, *__weak pw2; 55 @property (assign) I3 *__strong ps; 56 @property (assign) I3 * pds; 62 @property (assign) I4Impl *__weak pw1, *__weak pw2; 63 @property (assign) I4Impl *__strong ps; 64 @property (assign) I4Impl * pds; 65 @property (assign) I4Impl * pds2;
|
| /llvm-project-15.0.7/flang/test/Semantics/ |
| H A D | assign06.f90 | 16 assign 1 to lab ! ok 17 assign 1 to implicitlab1 ! ok 19 assign 1 to badlab1 21 assign 1 to badlab2 23 assign 1 to badlab3 25 assign 1 to test 37 assign 3 to lab ! ok
|
| H A D | assign07.f90 | 13 assign 1 to lab ! ok 14 assign 1 to implicitlab1 ! ok 16 assign 666 to lab 18 assign 2 to lab 19 assign 4 to lab 29 assign 3 to lab
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | property-assign-on-object-type.m | 1 // RUN: %clang_cc1 -fsyntax-only -verify -Wobjc-property-assign-on-object-type %s 7 @property(assign, readonly) Foo* o1; // expected-warning {{'assign' property of object type may bec… 10 @property(assign) Class classProperty; 11 @property(assign) Class<Prot> classWithProtocolProperty; 12 @property(assign) int s1; 13 @property(assign) int* s2;
|
| H A D | property-10.m | 13 @property(assign, copy) id p3_0; // expected-error {{property attributes 'assign' and 'copy' are mu… 14 @property(assign, retain) id p3_1; // expected-error {{property attributes 'assign' and 'retain' ar… 15 @property(assign, strong) id s3_1; // expected-error {{property attributes 'assign' and 'strong' ar… 18 …assign, copy, retain) id p3_3; // expected-error {{property attributes 'assign' and 'copy' are mut… 19 …assign, copy, strong) id s3_3; // expected-error {{property attributes 'assign' and 'copy' are mut… 27 …ning {{no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed}}, expected-w…
|
| H A D | property-inherited.m | 23 @property(nonatomic, assign) id<FooDelegate> delegate; 24 @property(nonatomic, assign) id<BarDelegate> delegate2; // expected-note {{property declared here}} 28 @property(nonatomic, assign) id<BarDelegate> delegate; 29 @property(nonatomic, assign) id<FooDelegate> delegate2; // expected-warning{{property type 'id<FooD… 37 @property(assign) id ref; 38 @property(assign) Base *p_base; 39 @property(assign) NSMutableData *p_data; // expected-note {{property declared here}} 43 @property(assign) NSData *ref; 44 @property(assign) Data *p_base; 45 @property(assign) NSData *p_data; // expected-warning{{property type 'NSData *' is incompatible wit…
|
| H A D | continuation-class-property.m | 49 @property (nonatomic, readonly, assign) struct evhttp_request *httpRequest; 50 @property (nonatomic, readonly, assign) struct S *httpRequest2; 51 @property (nonatomic, readonly, assign) struct S1 *httpRequest3; 52 @property (nonatomic, readonly, assign) struct S2 *httpRequest4; 59 @property (nonatomic, readwrite, assign) struct evhttp_request *httpRequest; 60 @property (nonatomic, readwrite, assign) struct S *httpRequest2; 61 @property (nonatomic, readwrite, assign) struct S1 *httpRequest3; 62 @property (nonatomic, readwrite, assign) struct S2 *httpRequest4;
|
| H A D | conflict-atomic-property.m | 5 @property (nonatomic, assign, atomic) float dummy; // expected-error {{property attributes 'atomic'… 6 @property (nonatomic, assign) float d1; 7 @property (atomic, assign) float d2; 8 @property (assign) float d3; 9 @property (atomic, nonatomic, assign) float d4; // expected-error {{property attributes 'atomic' an…
|
| H A D | warn-assign-property-nscopying.m | 13 …ected-warning {{no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed}} //… 14 …perty id okAction; // expected-warning {{no 'assign', 'retain', or 'copy' attribute is specified …
|
| H A D | error-property-gc-attr.m | 13 @property (assign) __weak id pweak; 14 @property (assign) __weak id WID; 15 @property (assign) __strong id NOT; 16 @property (assign) id ID; 17 @property (assign) INTF* AWEAK; 18 @property (assign) __weak INTF* WI;
|
| /llvm-project-15.0.7/lldb/include/lldb/Interpreter/ |
| H A D | OptionValueString.h | 33 m_current_value.assign(value); in OptionValueString() 34 m_default_value.assign(value); in OptionValueString() 40 m_current_value.assign(current_value); in OptionValueString() 42 m_default_value.assign(default_value); in OptionValueString() 49 m_current_value.assign(value); in m_validator() 50 m_default_value.assign(value); in m_validator() 58 m_current_value.assign(current_value); in m_validator() 60 m_default_value.assign(default_value); in m_validator() 104 m_default_value.assign(value); in SetDefaultValue()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | licm-regpressure.ll | 25 call void @assign(ptr %a) 26 call void @assign(ptr %0) 27 call void @assign(ptr %1) 28 call void @assign(ptr %2) 29 call void @assign(ptr %3) 30 call void @assign(ptr %4) 31 call void @assign(ptr %5) 38 declare void @assign(ptr)
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | property-getter-setter.m | 2 @property (assign,readwrite,getter=b,setter=c:) id a; 3 @property (assign,readonly,getter=e) id d; 4 @property (assign,readwrite) id f; 8 // CHECK: ObjCPropertyDecl=a:2:52 [getter,assign,readwrite,setter,] (getter=b) (setter=c:) [typedec… 9 // CHECK: ObjCPropertyDecl=d:3:41 [readonly,getter,assign,] (getter=e) [typedeclaration=id] [typeki… 10 // CHECK: ObjCPropertyDecl=f:4:33 [assign,readwrite,] [typedeclaration=id] [typekind=ObjCId]
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | MapFile.cpp | 162 if (auto *assign = dyn_cast<SymbolAssignment>(cmd)) { in writeMapFile() local 163 if (assign->provide && !assign->sym) in writeMapFile() 165 uint64_t lma = osec ? osec->getLMA() + assign->addr - osec->getVA(0) : 0; in writeMapFile() 166 writeHeader(os, assign->addr, lma, assign->size, 1); in writeMapFile() 167 os << assign->commandString << '\n'; in writeMapFile() 200 if (auto *assign = dyn_cast<SymbolAssignment>(subCmd)) { in writeMapFile() local 201 if (assign->provide && !assign->sym) in writeMapFile() 203 writeHeader(os, assign->addr, in writeMapFile() 204 osec->getLMA() + assign->addr - osec->getVA(0), in writeMapFile() 205 assign->size, 1); in writeMapFile() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | misc-atomic-property.m | 29 @property(assign) bools bools_p; 30 @property(assign) bools_minus_one bools_minus_one_p; 50 @property(assign) dword dword_p; 64 @property(assign) float fl_p; 65 @property(assign) double d_p; 66 @property(assign) long double ld_p;
|
| /llvm-project-15.0.7/flang/test/Lower/ |
| H A D | format-statement.f90 | 12 assign 100 to label 14 assign 200 to label 37 assign 100 to label 39 assign 200 to label
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.cons/ |
| H A D | assign_iter_iter.pass.cpp | 35 v.assign(It(arr1), It(std::end(arr1))); in test() 40 v.assign(It(arr2), It(std::end(arr2))); in test() 51 v.assign(It(arr1), It(std::end(arr1))); in test() 57 v.assign(It(arr2), It(std::end(arr2))); in test() 77 dst.assign(It(src.data()), It(src.data() + src.size())); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.capacity/ |
| H A D | clear.pass.cpp | 33 s.assign(10, 'a'); in test() 37 s.assign(100, 'a'); in test() 47 s.assign(10, 'a'); in test() 51 s.assign(100, 'a'); in test()
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | constexpr_char_traits.h | 27 static TEST_CONSTEXPR_CXX14 void assign(char_type& __c1, const char_type& __c2) TEST_NOEXCEPT in assign() function 41 static TEST_CONSTEXPR_CXX14 char_type* assign(char_type* __s, size_t __n, char_type __a); 105 assign(*__s1, *__s2); in move() 112 assign(*--__s1, *--__s2); in move() 125 assign(*__s1, *__s2); in copy() 131 constexpr_char_traits<_CharT>::assign(char_type* __s, size_t __n, char_type __a) in assign() function 135 assign(*__s, __a); in assign()
|
| /llvm-project-15.0.7/llvm/unittests/BinaryFormat/ |
| H A D | MsgPackReaderTest.cpp | 100 Buffer.assign("\xd0\x00", 2); in TEST_F() 130 Buffer.assign("\xd1\x00\x00", 3); in TEST_F() 140 Buffer.assign("\xd1\x80\x00", 3); in TEST_F() 224 Buffer.assign("\xcc\x00", 2); in TEST_F() 254 Buffer.assign("\xcd\x00\x00", 3); in TEST_F() 264 Buffer.assign("\xcd\x00\x01", 3); in TEST_F() 397 Buffer.assign("\xd9\x00", 2); in TEST_F() 429 Buffer.assign("\xda\x00\x00", 3); in TEST_F() 493 Buffer.assign("\xc4\x00", 2); in TEST_F() 525 Buffer.assign("\xc5\x00\x00", 3); in TEST_F() [all …]
|