Home
last modified time | relevance | path

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

123

/external/clang/test/SemaObjC/
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() // expected-error {{redefinition of 'Gorf' as different kind of symbol}}
44 NSString * const TestBaz; // expected-error {{redefinition of 'TestBaz' with a different type}}
Dobjc2-merge-gc-attribue-decl.m17 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}}
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…
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…
Dforward-class-redeclare.m13 @class PLAlbum; // expected-warning {{redefinition of forward class 'PLAlbum' of a typedef name of …
Divar-sem-check-1.m12 struct T {} X; // expected-error {{nested redefinition of 'T'}}
Dclass-impl-1.m30 @implementation INTF3 @end // expected-error {{redefinition of 'INTF3' as different kind of symbol}}
Dmethod-prototype-scope.m20 …ngWith:(NSString *)object and:(NSArray *)object // expected-warning {{redefinition of method param…
Dforward-class-1.m41 @class XCElement; // expected-warning {{redefinition of forward class 'XCElement' of a typedef name…
Dtypedef-class.m57 @class XCElementToggler; // expected-warning {{redefinition of forward class 'XCElementToggler' of…
/external/clang/test/SemaObjCXX/
Dobjc2-merge-gc-attribue-decl.mm39 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}}
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
Dcodegen.ml59 * has a body, don't allow redefinition or reextern. *)
63 raise (Error "redefinition of function");
67 raise (Error "redefinition of function with different # args");
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dcodegen.ml59 * has a body, don't allow redefinition or reextern. *)
63 raise (Error "redefinition of function");
67 raise (Error "redefinition of function with different # args");
/external/llvm/test/Assembler/
Dinvalid-comdat2.ll5 ; CHECK: redefinition of comdat '$v'
Dalias-redefinition.ll3 ; CHECK: error: redefinition of global named '@bar'
/external/llvm/test/Feature/
Dglobalredefinition3.ll1 ; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "redefinition of global '@B'"
/external/clang/test/CXX/temp/temp.spec/
Dcxx1y-variable-template-no-body.cpp23 expected-error{{redefinition of 'pi0' as different kind of symbol}}
/external/clang/test/PCH/
Dreplaced-decl.m20 typedef int I; // expected-error {{redefinition}}
/external/llvm/test/Linker/
Dredefinition.ll4 ; RUN: not llvm-link %s %S/Inputs/redefinition.ll -o %t.bc 2>&1 | FileCheck %s
/external/clang/test/Modules/
Ddiagnostics.modulemap5 // CHECK: diagnostics.modulemap:[[@LINE+2]]:8: error: redefinition of module 'foo'
Dlinkage-merge.m19 // expected-error@-1{{redefinition of 'v0' with a different type: 'float' vs 'int'}}
Dserialized-diags.m27 // CHECK-WITH-ERRORS: has_errors.h:2:13: error: redefinition of 'foo'
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dcodegen.ml181 * has a body, don't allow redefinition or reextern. *)
185 raise (Error "redefinition of function");
189 raise (Error "redefinition of function with different # args");
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml199 * has a body, don't allow redefinition or reextern. *)
203 raise (Error "redefinition of function");
207 raise (Error "redefinition of function with different # args");
/external/clang/include/clang/Basic/
DDiagnosticCommonKinds.td66 def err_param_redefinition : Error<"redefinition of parameter %0">;
67 def warn_method_param_redefinition : Warning<"redefinition of method parameter %0">;

123