| /llvm-project-15.0.7/lldb/source/Interpreter/ |
| H A D | Property.cpp | 23 : m_name(definition.name), m_description(definition.description), in Property() 24 m_is_global(definition.global) { in Property() 25 switch (definition.type) { in Property() 54 if (definition.default_cstr_value) in Property() 64 llvm::StringRef s(definition.default_cstr_value ? definition.default_cstr_value : ""); in Property() 74 definition.enum_values); in Property() 84 definition.enum_values, definition.default_uint_value); in Property() 186 if (definition.default_cstr_value) in Property() 189 definition.default_cstr_value ? value : definition.default_uint_value); in Property() 195 if (definition.default_cstr_value) in Property() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | check-dup-objc-decls-1.m | 3 @interface Foo // expected-note {{previous definition is here}} 8 @class Bar; // expected-note {{previous definition is here}} 16 typedef int OBJECT; // expected-note {{previous definition is here}} 21 typedef int Gorf; // expected-note {{previous definition is here}} 32 @interface A<P> @end // expected-note {{previous definition is here}} 33 @interface A<Q> @end // expected-error {{duplicate interface definition for class 'A'}} 35 @protocol PP<P> @end // expected-note {{previous definition is here}} 36 @protocol PP<Q> @end // expected-warning {{duplicate protocol definition of 'PP'}} 44 @interface A(Cat)<P> @end // expected-note {{previous definition is here}} 45 @interface A(Cat)<Q> @end // expected-warning {{duplicate definition of category 'Cat' on interface… [all …]
|
| H A D | category-1.m | 5 @protocol p1,p2,p3; // expected-note {{protocol 'p1' has no definition}} \ 6 // expected-note {{protocol 'p2' has no definition}} 8 …<p1> // expected-warning {{cannot find protocol definition for 'p1'}} expected-note {{previous def… 11 @interface MyClass1 (Category1) // expected-warning {{duplicate definition of category 'Category1'… 17 @interface MyClass1 (Category4) @end // expected-note {{previous definition is here}} 20 @interface MyClass1 (Category7) @end // expected-note {{previous definition is here}} 21 @interface MyClass1 (Category8) @end // expected-note {{previous definition is here}} 24 @interface MyClass1 (Category4) @end // expected-warning {{duplicate definition of category 'Catego… 31 @interface MyClass1 (Category) <p2, p3> @end // expected-warning {{cannot find protocol definition… 48 @interface XCRemoteComputerManager(x) // expected-note {{previous definition is here}} [all …]
|
| H A D | check-dup-decls-inside-objc.m | 7 struct InProtocol {}; // expected-note {{previous definition is here}} 15 struct InInterfaceCurliesWithField {} field; // expected-note {{previous definition is here}} 16 union InInterfaceCurlies { int x; float y; }; // expected-note {{previous definition is here}} 18 enum InInterface { kX = 0, }; // expected-note {{previous definition is here}} 20 enum class InInterfaceScoped { kXScoped = 0, }; // expected-note {{previous definition is here}} 25 union InCategory { int x; float y; }; // expected-note {{previous definition is here}} 30 struct InExtensionCurlies {}; // expected-note {{previous definition is here}} 32 union InExtension { int x; float y; }; // expected-note {{previous definition is here}} 37 enum InImplementationCurlies { kZ = 2, }; // expected-note {{previous definition is here}} 39 struct InImplementation {}; // expected-note {{previous definition is here}} [all …]
|
| H A D | class-def-test-1.m | 3 @protocol SUPER; // expected-note {{protocol 'SUPER' has no definition}} 5 @interface SUPER <SUPER> @end // expected-warning {{cannot find protocol definition for 'SUPER'}} 7 typedef int INTF; // expected-note {{previous definition is here}} 11 @interface OBJECT @end // expected-note {{previous definition is here}} 13 @interface INTF1 : OBJECT @end // expected-note {{previous definition is here}} 15 @interface INTF1 : OBJECT @end // expected-error {{duplicate interface definition for class 'INTF1'… 19 typedef int OBJECT2; // expected-note 2 {{previous definition is here}}
|
| H A D | deprecate_function_containers.m | 5 void p_foo(void) {} // expected-warning {{function definition inside an Objective-C container is de… 9 void foo(void) {} // expected-warning {{function definition inside an Objective-C container is depr… 10 inline void v_foo(void) {} // expected-warning {{function definition inside an Objective-C containe… 11 static int s_foo(void) {return 0; } // expected-warning {{function definition inside an Objective-C… 12 static inline int si_val(void) { return 1; } // expected-warning {{function definition inside an Ob… 16 void cat_foo(void) {} // expected-warning {{function definition inside an Objective-C container is … 32 …e_observe_moin1(void (^callback)(id)) { // expected-warning {{function definition inside an Object…
|
| H A D | class-proto-1.m | 5 @protocol p1,p2,p3; // expected-note {{protocol 'p2' has no definition}} \ 6 // expected-note {{protocol 'p3' has no definition}} 18 @interface E1 <p2> @end // expected-warning {{cannot find protocol definition for 'p2'}} 25 @interface E2 <p1,p2,p3> @end // expected-warning {{cannot find protocol definition for 'p3'}} 42 … UndefinedParentProtocol; // expected-note {{protocol 'UndefinedParentProtocol' has no definition}} 47 …SObject <UndefinedProtocol> // expected-warning {{cannot find protocol definition for 'UndefinedPr…
|
| H A D | method-undefined-warn-1.m | 11 @implementation INTF // expected-warning {{method definition for 'int_meth' not found}} \ 12 // expected-warning {{method definition for 'cls_meth' not found}} \ 13 // expected-warning {{method definition for 'cls_meth1:' not found}} 27 @implementation INTF1 // expected-warning {{method definition for 'int_meth' not found}} \ 28 // expected-warning {{method definition for 'cls_meth' not found}} \ 29 // expected-warning {{method definition for 'cls_meth1:' not found}}
|
| H A D | method-typecheck-1.m | 4 - (void) setMoo: (int) x; // expected-note {{previous definition is here}} 5 - (int) setMoo1: (int) x; // expected-note {{previous definition is here}} 18 + (void) cMoo: (int) x; // expected-note 2 {{previous definition is here}} 28 - (void) setCat: (int) x; // expected-note 2 {{previous definition is here}} 29 + (void) cCat: (int) x; // expected-note {{previous definition is here}} 44 - (float)returnCGFloat; // expected-note {{previous definition is here}}
|
| H A D | ivar-lookup.m | 54 int IVAR; // expected-note 4 {{previous definition is here}} 61 int PIVAR; // expected-note {{previous definition is here}} 137 int d; // expected-note {{previous definition is here}} 138 NSString *e_strong; // expected-note {{previous definition is here}} 139 NSData *f_weak; // expected-note {{previous definition is here}} 140 int g; // expected-note 2 {{previous definition is here}} 145 int g; // expected-note {{previous definition is here}} \
|
| H A D | method-typecheck-2.m | 4 - (void) doSomethingInProtocol: (float) x; // expected-note {{previous definition is here}} 5 + (void) doSomethingClassyInProtocol: (float) x; // expected-note {{previous definition is here}} 11 - (void) doSomething: (float) x; // expected-note {{previous definition is here}} 12 + (void) doSomethingClassy: (int) x; // expected-note {{previous definition is here}}
|
| H A D | method-conflict-1.m | 15 - (void)myMethod1:(NSObject *)object; // broken-note {{previous definition is here}} 30 - (void)myMethod:(id <MyProtocol>)object; // broken-note {{previous definition is here}} 31 - (void)myMethod1:(id <MyProtocol>)object; // broken-note {{previous definition is here}} 47 - (void) test1:(A*) object; // broken-note {{previous definition is here}} 58 - (void) test1:(id) object; // broken-note {{previous definition is here}} 68 - (B*) test2; // broken-note {{previous definition is here}}
|
| H A D | alias-test-2.m | 4 @interface Super @end // expected-note {{previous definition is here}} 6 @interface MyWpModule @end // expected-note {{previous definition is here}} 15 @interface MyAlias : AliasForSuper // expected-error {{duplicate interface definition for class 'My…
|
| /llvm-project-15.0.7/llvm/utils/vscode/llvm/src/ |
| H A D | litTaskProvider.ts | 36 const task = _task.definition.task; 39 const definition: LITTaskDefinition = <any>_task.definition; constant 40 if (definition.task === 'llvm-lit file') { 42 } else if (definition.task === 'llvm-lit directory') { 47 definition, 48 definition.task,
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | trace-symbols.s | 18 # PREEMPT: trace-symbols.s.tmp1: definition of foo 19 # PREEMPT-NEXT: trace-symbols.s.tmp1.so: shared definition of foo 32 # OBJECTD1FOO: trace-symbols.s.tmp1: common definition of common 33 # OBJECTD1FOO: trace-symbols.s.tmp1: definition of foo 34 # OBJECTD1FOO: trace-symbols.s.tmp2: definition of foo 37 # REFLAST: trace-symbols.s.tmp1: definition of foo 38 # REFLAST: trace-symbols.s.tmp2: definition of foo 47 # OBJECTD2FOO: trace-symbols.s.tmp2: definition of foo 52 # FOO_AND_COMMON: trace-symbols.s.tmp2: definition of foo 64 # NO-SHLIBD2FOO-NOT: trace-symbols.s.tmp2.so: definition of foo [all …]
|
| H A D | interconnected-lazy.s | 12 # CHECK: a.o: lazy definition of a 13 # CHECK-NEXT: a.o: lazy definition of foo 14 # CHECK-NEXT: a.o: lazy definition of __foo 15 # CHECK-NEXT: b.o: definition of foo 16 # CHECK-NEXT: b.o: definition of __foo 18 # CHECK-NEXT: a.o: definition of a
|
| H A D | allow-multiple-definition.s | 4 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/allow-multiple-definition.s -o … 6 # RUN: not ld.lld --allow-multiple-definition --no-allow-multiple-definition %t1 %t2 -o /dev/null 7 # RUN: ld.lld --allow-multiple-definition --fatal-warnings %t1 %t2 -o %t3 8 # RUN: ld.lld --allow-multiple-definition --fatal-warnings %t2 %t1 -o %t4 20 # If flag allow-multiple-definition is enabled the first
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/test/ |
| H A D | background-index.test | 5 # RUN: sed -e "s|DIRECTORY|%/t|" %/t/definition.jsonrpc.tmpl > %/t/definition.jsonrpc.1 9 # RUN: sed -E -e 's|"file://([A-Z]):/|"file:///\1:/|g' %/t/definition.jsonrpc.1 > %/t/definition.js… 13 # The background index should allow us to go-to-definition on foo(). 15 # RUN: clangd -background-index -lit-test < %/t/definition.jsonrpc | FileCheck %/t/definition.jsonr… 23 # RUN: clangd -background-index -lit-test < %/t/definition.jsonrpc | FileCheck %/t/definition.jsonr…
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/ |
| H A D | definitions-in-headers.rst | 13 int a = 1; // Warning: variable definition. 17 int e = 2; // Warning: variable definition. 20 // Warning: variable definition. 31 // Warning: function definition. 36 // OK: inline function definition is allowed to be defined multiple times. 43 int f1() { return 1; } // OK: implicitly inline member function definition is allowed. 49 // Warning: not an inline member function definition. 74 // OK: member function definition of a class template is allowed. 79 constexpr static int i = 5; // OK: inline variable definition. 82 inline int i = 5; // OK: inline variable definition.
|
| /llvm-project-15.0.7/llvm/test/FileCheck/ |
| H A D | string-defines-diagnostics.txt | 7 ERRCLIEQ1: Missing equal sign in command-line definition '-DVALUE10' 9 ; Missing definition expression (variable name, equal sign and value). 19 ERRCLIVAR1: Missing variable name in command-line definition '-D=10' 25 ERRCLIVAR2: Missing variable name in command-line definition '-D=' 36 ; Invalid definition of pseudo variable. 41 ERRCLIPSEUDO:Global defines:1:19: error: invalid name in string variable definition '@VALUE' 45 ; Invalid definition of an expression. 50 ERRCLITRAIL:Global defines:1:19: error: invalid name in string variable definition 'VALUE + 2'
|
| /llvm-project-15.0.7/lld/test/wasm/ |
| H A D | trace-symbol.s | 19 # BOTH: start.o: definition of _start 21 # BOTH-NEXT: ret32.o: definition of ret32 23 # REVERSED: ret32.o: definition of ret32 24 # REVERSED-NEXT: start.o: definition of _start 27 # JUST-START: start.o: definition of _start
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | odr_hash.mm | 84 // [email protected]:* {{'S::y' from module 'SecondModule' is not present in definition of 'S… 112 …:Attributed::invalid1' has different definitions in different modules; definition in module 'Secon… 115 …:Attributed::invalid2' has different definitions in different modules; definition in module 'Secon… 220 …::ObjCObject::Invalid1::T' from module 'FirstModule' is not present in definition of 'Types::ObjCO… 223 …::ObjCObject::Invalid2::T' from module 'FirstModule' is not present in definition of 'Types::ObjCO… 229 …::ObjCObject::Invalid4::T' from module 'FirstModule' is not present in definition of 'Types::ObjCO… 269 …irst.h:* {{'Interface4::x' from module 'FirstModule' is not present in definition of 'Interface4' … 271 …irst.h:* {{'Interface5::y' from module 'FirstModule' is not present in definition of 'Interface5' … 273 …irst.h:* {{'Interface6::z' from module 'FirstModule' is not present in definition of 'Interface6' … 323 …CallMethods::invalid1' has different definitions in different modules; definition in module 'Secon… [all …]
|
| H A D | objc-category-2.m | 4 // We have a definition of category and the base interface imported from a 5 // module, definition for the base interface is also textually included. 6 // Currently we emit an error "duplicate interface definition".
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | arc-complete.m | 10 // CHECK-CC1: macro definition:{TypedText __autoreleasing} (70) 14 // CHECK-CC1: macro definition:{TypedText __strong} (70) 15 // CHECK-CC1: macro definition:{TypedText __unsafe_unretained} (70) 16 // CHECK-CC1: macro definition:{TypedText __weak} (70)
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-ml/ |
| H A D | macro_errors.asm | 6 ; CHECK: error: unexpected 'ENDM' in file, no current macro definition 11 ; CHECK: error: unexpected 'ENDM' in file, no current macro definition 16 ; CHECK: error: unexpected 'ENDM' in file, no current macro definition 21 ; CHECK: error: no matching 'endm' in definition
|