/llvm-project/clang/test/SemaObjC/ |
H A D | warn-explicit-call-initialize.m | 4 + (void)initialize; // expected-note 2 {{method 'initialize' declared here}} class 8 + (void)initialize; // expected-note {{method 'initialize' declared here}} class 14 …[I initialize]; // expected-warning {{explicit call to +initialize results in duplicate call t… 15 …[NSObject initialize]; // expected-warning {{explicit call to +initialize results in duplicate cal… 17 + (void)initialize { class 18 [super initialize]; 21 …[super initialize]; // expected-warning {{explicit call to [super initialize] should only be in im…
|
H A D | non-trivial-c-union.m | 6 typedef union { // expected-note 12 {{'U0' has subobjects that are non-trivial to default-initialize}} expected-note 36 {{'U0' has subobjects that are non-trivial to destruct}} expected-note 28 {{'U0' has subobjects that are non-trivial to copy}} 7 id f0; // expected-note 12 {{f0 has type '__strong id' that is non-trivial to default-initialize}} expected-note 36 {{f0 has type '__strong id' that is non-trivial to destruct}} expected-note 28 {{f0 has type '__strong id' that is non-trivial to copy}} 8 __weak id f1; // expected-note 12 {{f1 has type '__weak id' that is non-trivial to default-initialize}} expected-note 36 {{f1 has type '__weak id' that is non-trivial to destruct}} expected-note 28 {{f1 has type '__weak id' that is non-trivial to copy}} 17 U0 ug0; // expected-error {{cannot default-initialize an object of type 'U0' since it is a union that is non-trivial to default-initialize}} 19 S0 sg0; // expected-error {{cannot default-initialize an object of type 'S0' since it contains a union that is non-trivial to default-initialize}} 21 S0 sg2 = { .f1 = 0 }; // expected-error {{cannot default-initialize an object of type 'U0' since it is a union that is non-trivial to default-initialize}} 36 U0 u0; // expected-error {{cannot declare an automatic variable of type 'U0' since it is a union that is non-trivial to destruct}} expected-error {{cannot default-initialize a [all...] |
H A D | protocol-implementing-class-methods.m | 11 - (void) initialize; // expected-note {{method 'initialize' declared here}} method 15 - (void) initialize; method in AirPortUI 23 - (void) initialize {NSImage *p=0; [p initialize]; } // expected-warning {{category is implementing… method in AirPortUI
|
H A D | warn-nontrivial-struct-memaccess.m | 15 …__weak id f1; // expected-note 2 {{non-trivial to default-initialize}} expected-note 2 {{non-trivi… 17 …id f3[10]; // expected-note 2 {{non-trivial to default-initialize}} expected-note 2 {{non-trivial … 21 …id f0; // expected-note 2 {{non-trivial to default-initialize}} expected-note 2 {{non-trivial to c… 34 …ial1)); // expected-warning {{that is not trivial to primitive-default-initialize}} expected-note … 36 …ial1)); // expected-warning {{that is not trivial to primitive-default-initialize}} expected-note …
|
/llvm-project/llvm/include/llvm/ |
H A D | PassSupport.h | 39 static void *initialize##passName##PassOnce(PassRegistry &Registry) { \ 47 void llvm::initialize##passName##Pass(PassRegistry &Registry) { \ 49 initialize##passName##PassOnce, std::ref(Registry)); \ 53 static void *initialize##passName##PassOnce(PassRegistry &Registry) { 55 #define INITIALIZE_PASS_DEPENDENCY(depName) initialize##depName##Pass(Registry); 65 void llvm::initialize##passName##Pass(PassRegistry &Registry) { \ 67 initialize##passName##PassOnce, std::ref(Registry)); \
|
/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | DebugSubsectionVisitor.cpp | 35 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() 42 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() 49 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() 55 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 61 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 67 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 73 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 79 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 85 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection()
|
H A D | DebugCrossExSubsection.cpp | 19 Error DebugCrossModuleExportsSubsectionRef::initialize( in initialize() function in DebugCrossModuleExportsSubsectionRef 30 Error DebugCrossModuleExportsSubsectionRef::initialize(BinaryStreamRef Stream) { in initialize() function in DebugCrossModuleExportsSubsectionRef 32 return initialize(Reader); in initialize()
|
H A D | DebugFrameDataSubsection.cpp | 17 Error DebugFrameDataSubsectionRef::initialize(BinaryStreamReader Reader) { in initialize() function in DebugFrameDataSubsectionRef 33 Error DebugFrameDataSubsectionRef::initialize(BinaryStreamRef Section) { in initialize() function in DebugFrameDataSubsectionRef 35 return initialize(Reader); in initialize()
|
/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/ |
H A D | OProfileWrapper.cpp | 53 bool OProfileWrapper::initialize() { in initialize() function in llvm::OProfileWrapper 183 initialize(); in op_open_agent() 195 initialize(); in op_close_agent() 216 initialize(); in op_write_native_code() 229 initialize(); in op_write_debug_line_info() 239 initialize(); in op_major_version() 249 initialize(); in op_minor_version() 259 initialize(); in op_unload_native_code()
|
/llvm-project/clang/test/SemaObjCXX/ |
H A D | arc-nsconsumed-errors.mm | 5 …med)) id, __attribute((ns_consumed)) id){}; // expected-error {{cannot initialize a variable of ty… 9 …med)) id, __attribute((ns_consumed)) id){}; // expected-error {{cannot initialize a variable of ty… 11 blk d = ^void (id, id) {}; // expected-error {{cannot initialize a variable of type '__strong blk'}} 13 blk1 a1 = ^void (__attribute((ns_consumed)) id, id){}; // expected-error {{cannot initialize a vari… 15 blk1 b2 = ^void (id, __attribute((ns_consumed)) id){}; // expected-error {{cannot initialize a vari… 19 blk1 d4 = ^void (id, id) {}; // expected-error {{cannot initialize a variable of type '__strong blk… 25 releaser_t r1 = normalFunction; // expected-error {{cannot initialize a variable of type 'releaser_…
|
H A D | parameterized_classes_arc.mm | 34 Forward2 *x = [obj get]; // expected-error {{cannot initialize}} 35 …[obj set: x]; // expected-error {{cannot initialize a parameter of type 'Forward *' with an lvalue… 39 Forward2 *x = [obj get]; // expected-error {{cannot initialize}} 40 [obj set: x]; // expected-error {{cannot initialize a parameter of type 'Forward *'}} 44 Forward2 *x = [obj get]; // expected-error {{cannot initialize}} 45 [obj set: x]; // expected-error {{cannot initialize a parameter of type 'Forward *'}} 57 Forward2 *x = [obj get]; // expected-error {{cannot initialize}} 58 [obj set: x]; // expected-error {{cannot initialize a parameter of type 'Forward *'}}
|
H A D | NSString-type.mm | 4 …void (^block)(void) = @"help"; // expected-error {{cannot initialize a variable of type 'void (^)(… 6 …void (^block2)(void) = @"help"; // expected-error {{cannot initialize a variable of type 'void (^)… 7 …void (^block3)(void) = @"help"; // expected-error {{cannot initialize a variable of type 'void (^)…
|
/llvm-project/lldb/tools/debugserver/source/ |
H A D | libdebugserver.cpp | 143 RNBRunLoopMode HandleProcessStateChange(RNBRemoteSP &remote, bool initialize) { in HandleProcessStateChange() argument 155 "%s (&remote, initialize=%i) pid_state = %s", __FUNCTION__, in HandleProcessStateChange() 156 (int)initialize, DNBStateAsString(pid_state)); in HandleProcessStateChange() 172 if (!initialize) { in HandleProcessStateChange() 183 LOG_RNB_MINIMAL, "%s (&remote, initialize=%i) pid_state = %s " in HandleProcessStateChange() 186 __FUNCTION__, (int)initialize, DNBStateAsString(pid_state), in HandleProcessStateChange() 191 LOG_RNB_MINIMAL, "%s (&remote, initialize=%i) pid_state = %s " in HandleProcessStateChange() 193 __FUNCTION__, (int)initialize, DNBStateAsString(pid_state), in HandleProcessStateChange() 198 DNBLogThreadedIf(LOG_RNB_MINIMAL, "%s (&remote, initialize=%i) " in HandleProcessStateChange() 201 __FUNCTION__, (int)initialize, in HandleProcessStateChange() [all...] |
/llvm-project/llvm/test/tools/llvm-ml/ |
H A D | struct_errors.asm | 13 ; CHECK: error: Cannot initialize array field with scalar value 16 ; CHECK: error: Cannot initialize scalar field with array value 27 ; CHECK: error: Cannot initialize array field with scalar value 30 ; CHECK: error: Cannot initialize scalar field with array value
|
/llvm-project/clang/test/PCH/ |
H A D | non-trivial-c-union.m | 15 // expected-note@-8 {{'U0' has subobjects that are non-trivial to default-initialize}} 18 // expected-note@-10 {{f0 has type '__strong id' that is non-trivial to default-initialize}} 22 …ected-error {{cannot default-initialize an object of type 'U0' since it is a union that is non-tri…
|
/llvm-project/clang/test/Analysis/diagnostics/ |
H A D | no-store-func-path-notes.cpp | 22 int initialize(int *p, int param) { in initialize() function 34 s->initialize(&p, 0); //expected-note{{Calling 'S::initialize'}} in use() 129 void initialize(int *); 132 void D::initialize(int *p) { in initialize() function in D 138 d->initialize(&p); // expected-note{{Calling 'D::initialize'}} in use_d_initializer()
|
/llvm-project/lldb/tools/lldb-server/ |
H A D | lldb-server.cpp | 42 static void initialize() { in initialize() function 66 llgs::initialize(); in main() 71 llgs::initialize(); in main()
|
/llvm-project/clang/include/clang/Sema/ |
H A D | TemplateInstCallback.h | 28 virtual void initialize(const Sema &TheSema) = 0; 43 void initialize(TemplateInstantiationCallbackPtrs &Callbacks, in initialize() function 47 C->initialize(TheSema); in initialize()
|
/llvm-project/llvm/test/Transforms/MemCpyOpt/ |
H A D | 2008-02-24-MultipleUseofSRet.ll | 10 define internal fastcc void @initialize(ptr noalias nocapture sret(%0) %agg.result) nounwind { 11 ; CHECK-LABEL: @initialize( 33 ; CHECK-NEXT: call fastcc void @initialize(ptr noalias sret([[TMP0]]) [[Z]]) 41 call fastcc void @initialize(ptr noalias sret(%0) %memtmp)
|
/llvm-project/clang/test/CodeGen/ |
H A D | instrument-objc-method.m | 9 // PREINLINE: @"\01+[ObjCClass initialize]"{{\(.*\)}} #0 10 // BARE: @"\01+[ObjCClass initialize]"{{\(.*\)}} #0 11 + (void)initialize { class
|
H A D | sanitize-thread-no-checking-at-run-time.m | 19 + (void) initialize; class 24 + (void)initialize { class 31 // TSAN: initialize{{.*}}) [[ATTR:#[0-9]+]]
|
/llvm-project/clang/test/SemaTemplate/ |
H A D | class-template-id.cpp | 15 …cxx23-error{{cannot initialize return object of type 'A<int, FLOAT> *' (aka 'A<int, float> *') wit… in foo() 18 …cxx23-error{{cannot initialize return object of type 'A<int, FLOAT> *' (aka 'A<int, float> *') wit… in foo() 32 …cxx23-error{{cannot initialize return object of type 'B<17 + 2> *' with an rvalue of type 'B<19 - …
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/ |
H A D | pro-type-member-init.rst | 7 initialize all fields that would be left in an undefined state by 15 initializer list. It will also initialize any direct base classes that 24 fix is to zero initialize the variable via ``{}`` for C++11 and beyond or ``= 34 be important to not initialize fixed-size array members. Default is `false`.
|
/llvm-project/clang/unittests/Analysis/FlowSensitive/ |
H A D | DataflowEnvironmentTest.cpp | 150 Env.initialize(); in TEST_F() 223 Env.initialize(); in TEST_F() 274 Env.initialize(); in TEST_F() 318 Env.initialize(); in TEST_F() 354 Env.initialize(); in TEST_F() 404 Env.initialize(); in TEST_F() 440 Env.initialize(); 486 Env.initialize(); 520 Env.initialize(); 548 Env.initialize(); [all...] |
/llvm-project/llvm/unittests/ExecutionEngine/Orc/ |
H A D | MemoryMapperTest.cpp | 27 Expected<ExecutorAddr> initialize(MemoryMapper &M, in initialize() function 31 M.initialize(AI, [&](auto R) { P.set_value(std::move(R)); }); in initialize() 136 auto Init1 = initialize(*Mapper, Alloc1); in TEST() 143 auto Init2 = initialize(*Mapper, Alloc2); in TEST() 183 auto Init3 = initialize(*Mapper, Alloc3); in TEST()
|