Searched refs:redefinition (Results 1 – 25 of 52) sorted by relevance
123
6 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() // expected-error {{redefinition of 'Gorf' as different kind of symbol}}44 NSString * const TestBaz; // expected-error {{redefinition of 'TestBaz' with a different type}}
17 extern __weak id p3; // expected-error {{redefinition of 'p3' with a different type}}20 extern void * __strong p4; // expected-error {{redefinition of 'p4' with a different type}}26 extern char* p6; // expected-error {{redefinition of 'p6' with a different type}}29 extern char* p7; // expected-error {{redefinition of 'p7' with a different type}}
20 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…
9 @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…
13 @class PLAlbum; // expected-warning {{redefinition of forward class 'PLAlbum' of a typedef name of …
12 struct T {} X; // expected-error {{nested redefinition of 'T'}}
30 @implementation INTF3 @end // expected-error {{redefinition of 'INTF3' as different kind of symbol}}
20 …ngWith:(NSString *)object and:(NSArray *)object // expected-warning {{redefinition of method param…
41 @class XCElement; // expected-warning {{redefinition of forward class 'XCElement' of a typedef name…
57 @class XCElementToggler; // expected-warning {{redefinition of forward class 'XCElementToggler' of…
39 extern __weak id p3; // expected-error {{redefinition of 'p3' with a different type}}42 extern void * __strong p4; // expected-error {{redefinition of 'p4' with a different type}}48 extern char* p6; // expected-error {{redefinition of 'p6' with a different type}}51 extern char* p7; // expected-error {{redefinition of 'p7' with a different type}}
59 * has a body, don't allow redefinition or reextern. *)63 raise (Error "redefinition of function");67 raise (Error "redefinition of function with different # args");
5 ; CHECK: redefinition of comdat '$v'
3 ; CHECK: error: redefinition of global named '@bar'
1 ; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "redefinition of global '@B'"
23 expected-error{{redefinition of 'pi0' as different kind of symbol}}
20 typedef int I; // expected-error {{redefinition}}
4 ; RUN: not llvm-link %s %S/Inputs/redefinition.ll -o %t.bc 2>&1 | FileCheck %s
5 // CHECK: diagnostics.modulemap:[[@LINE+2]]:8: error: redefinition of module 'foo'
19 // expected-error@-1{{redefinition of 'v0' with a different type: 'float' vs 'int'}}
27 // CHECK-WITH-ERRORS: has_errors.h:2:13: error: redefinition of 'foo'
181 * has a body, don't allow redefinition or reextern. *)185 raise (Error "redefinition of function");189 raise (Error "redefinition of function with different # args");
199 * has a body, don't allow redefinition or reextern. *)203 raise (Error "redefinition of function");207 raise (Error "redefinition of function with different # args");
66 def err_param_redefinition : Error<"redefinition of parameter %0">;67 def warn_method_param_redefinition : Warning<"redefinition of method parameter %0">;