Home
last modified time | relevance | path

Searched refs:redefinition (Results 1 – 25 of 65) sorted by relevance

123

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dcheck-dup-decls-inside-objc.m47 struct InProtocol { int a; }; // expected-error {{redefinition of 'InProtocol'}}
48 union MethodReturnType { int a; long b; }; // expected-error {{redefinition of 'MethodReturnType'}}
51 union InInterfaceCurlies { int a; long b; }; // expected-error {{redefinition of 'InInterfaceCurlie…
52 enum InInterface { kA = 10, }; // expected-error {{redefinition of 'InInterface'}}
54 enum class InInterfaceScoped { kAScoped = 10, }; // expected-error {{redefinition of 'InInterfaceSc…
57 union InCategory { int a; long b; }; // expected-error {{redefinition of 'InCategory'}}
60 struct InExtensionCurlies { int a; }; // expected-error {{redefinition of 'InExtensionCurlies'}}
61 union InExtension { int a; long b; }; // expected-error {{redefinition of 'InExtension'}}
64 enum InImplementationCurlies { kC = 12, }; // expected-error {{redefinition of 'InImplementationCur…
65 struct InImplementation { int a; }; // expected-error {{redefinition of 'InImplementation'}}
[all …]
H A Dcheck-dup-objc-decls-1.m6 float Foo; // expected-error {{redefinition of 'Foo' as different kind of symbol}}
10 typedef int Bar; // expected-error {{redefinition of 'Bar' as different kind of symbol}}
18 @class OBJECT ; // expected-error {{redefinition of 'OBJECT' as different kind of symbol}}
23 @interface Gorf @end // expected-error {{redefinition of 'Gorf' as different kind of symbol}} expec…
25 void Gorf(void) // expected-error {{redefinition of 'Gorf' as different kind of symbol}}
50 NSString * const TestBaz; // expected-error {{redefinition of 'TestBaz' with a different type}}
H A Did.m20 typedef int id; // expected-error {{typedef redefinition with different types ('int' vs 'id')}}
23 typedef double id; // expected-error {{typedef redefinition with different types ('double' vs 'id'…
25 typedef char *id; // expected-error {{typedef redefinition with different types ('char *' vs 'id')}}
27 typedef union U{ int iu; } *id; // expected-error {{typedef redefinition with different types ('uni…
H A Dclass-def-test-1.m9 @interface INTF @end // expected-error {{redefinition of 'INTF' as different kind of symbol}}
17 typedef int OBJECT; // expected-error {{redefinition of 'OBJECT' as different kind of symbol}}
20 @interface INTF2 : OBJECT2 @end // expected-error {{redefinition of 'OBJECT2' as different kind of …
22 @implementation INTF2 : OBJECT2 @end // expected-error {{redefinition of 'OBJECT2' as different kin…
/llvm-project-15.0.7/clang/test/Lexer/
H A Dobjc_macros.m4 // expected-warning@-1 {{ignoring redefinition of Objective-C qualifier macro}}
6 // expected-warning@-1 {{ignoring redefinition of Objective-C qualifier macro}}
8 // expected-warning@-1 {{ignoring redefinition of Objective-C qualifier macro}}
/llvm-project-15.0.7/clang/test/Modules/
H A Dredefinition-c-tagtypes.m18 // expected-error@redefinition-c-tagtypes.m:12 {{type 'struct NS' has incompatible definitions}}
29 // expected-error@redefinition-c-tagtypes.m:23 {{type 'enum NSE' has incompatible definitions}}
45 …// expected-error@redefinition-c-tagtypes.m:39 {{type 'enum NSMyEnum' has incompatible definitions…
H A Dredefinition-same-header.m5 // expected-error@Inputs/SameHeader/C.h:3 {{redefinition of 'c'}}
8 // expected-note-re@redefinition-same-header.m:20 {{'{{.*}}C.h' included multiple times, additional…
H A Dprotocol-redefinition.m2 …s -fimplicit-module-maps -fmodules-cache-path=%t -F%S/Inputs/protocol-redefinition -fsyntax-only %…
H A Dtypedef-tag-not-visible.m7 typedef struct { int x; } TypedefStructVisible_t; // expected-error{{typedef redefinition}}
/llvm-project-15.0.7/mlir/test/IR/
H A Dinvalid-affinemap.mlir40 #hello_world = affine_map<(i, j, i) [s0] -> (i)> // expected-error {{redefinition of identifier 'i'…
43 #hello_world = affine_map<(i, j) [s0, s1, s0] -> (i)> // expected-error {{redefinition of identifie…
46 #hello_world = affine_map<(i, j) [i, s0] -> (j)> // expected-error {{redefinition of identifier 'i'…
108 #ABC = affine_map<(i,j) -> (i+j)> // expected-error {{redefinition of attribute alias id 'ABC'}}
H A Dinvalid.mlir15 ^bb42: // expected-error {{redefinition of block '^bb42'}}
133 %x = "xxx"(){index = 0} : ()->i32 // expected-error {{redefinition of SSA value '%x'}}
155 ^bb2(%a: i64): // expected-error{{redefinition of SSA value '%a'}}
318 func.func private @redef() // expected-error {{redefinition of symbol named 'redef'}}
389 !redef_alias = i32 // expected-error {{redefinition of type alias id 'redef_alias'}}
531 // expected-error@+1 {{redefinition of SSA value '%bar'}}
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dmodules-ts.cppm12 // expected-error@-2 {{redefinition of module 'foo'}}
18 // expected-error@-2 {{redefinition of '}}
25 // expected-error@-2 {{redefinition of '}}
/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Dregion-alias.s33 # ERR1: {{.*}}script.inc:1: redefinition of memory region 'ROM'
40 # ERR2: {{.*}}script.inc:2: redefinition of memory region 'ALIAS_TEXT'
/llvm-project-15.0.7/llvm/test/Assembler/
H A Dinvalid-comdat2.ll5 ; CHECK: redefinition of comdat '$v'
H A Dalias-redefinition.ll3 ; CHECK: error: redefinition of global '@bar'
/llvm-project-15.0.7/llvm/test/Feature/
H A Dglobalredefinition3.ll1 ; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "redefinition of global '@B'"
/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Dtypes.cl5 // Check redefinition of standard types
/llvm-project-15.0.7/llvm/test/MC/Hexagon/
H A Dequ.s8 # CHECK: {{[Ee]}}rror: redefinition of 'a'
/llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/
H A Dcxx1y-variable-template-no-body.cpp23 expected-error{{redefinition of 'pi0' as different kind of symbol}}
/llvm-project-15.0.7/llvm/test/CodeGen/MIR/Generic/
H A Dmachine-basic-block-redefinition-error.mir14 ; CHECK: [[@LINE+3]]:3: redefinition of machine basic block with id #0
H A Dmachine-function-redefinition-error.mir8 # CHECK: redefinition of machine function 'foo'
/llvm-project-15.0.7/llvm/test/CodeGen/MIR/X86/
H A Dvirtual-register-redefinition-error.mir16 # CHECK: [[@LINE+1]]:11: redefinition of virtual register '%0'
H A Dconstant-pool-item-redefinition-error.mir17 # CHECK: [[@LINE+1]]:18: redefinition of constant pool item '%const.0'
/llvm-project-15.0.7/clang/test/PCH/
H A Dreplaced-decl.m20 typedef int I; // expected-error {{redefinition}}
/llvm-project-15.0.7/llvm/test/Linker/
H A Dredefinition.ll4 ; RUN: not llvm-link %s %S/Inputs/redefinition.ll -o %t.bc 2>&1 | FileCheck %s

123