HomeSort by relevance Sort by last modified time
    Searched full:redeclaration (Results 1 - 25 of 547) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Sema/
memset-invalid.c 3 char memset(); // expected-warning {{incompatible redeclaration of library function 'memset'}} expected-note{{'memset' is a builtin with type}}
vfprintf-invalid-redecl.c 6 char vfprintf(); // expected-warning {{incompatible redeclaration of library function 'vfprintf'}} expected-note {{'vfprintf' is a builtin}}
implicit-builtin-decl.c 10 void *alloca(__SIZE_TYPE__); // redeclaration okay
12 int *calloc(__SIZE_TYPE__, __SIZE_TYPE__); // expected-warning{{incompatible redeclaration of library function 'calloc'}} \
21 int malloc(int); // expected-warning{{incompatible redeclaration of library function 'malloc'}}
22 int strcpy(int); // expected-warning{{incompatible redeclaration of library function 'strcpy'}} \
41 void * realloc(void *p, int size) { // expected-warning{{incompatible redeclaration of library function 'realloc'}} \
47 void snprintf(); // expected-warning{{incompatible redeclaration of library function 'snprintf'}} \
var-redecl.c 12 extern float outer1; // expected-error{{redeclaration of 'outer1' with a different type}}
13 extern float outer2; // expected-error{{redeclaration of 'outer2' with a different type}}
43 extern float outer11; // expected-error{{redeclaration of 'outer11' with a different type}}
46 extern float outer12; // expected-error{{redeclaration of 'outer12' with a different type}}
47 extern float outer13; // expected-error{{redeclaration of 'outer13' with a different type}}
70 void g21() { extern int b[4]; } // expected-error{{redeclaration of 'b' with a different type: 'int [4]' vs 'int [3]'}}
implicit-builtin-redecl.c 9 void *calloc(int, int, int); // expected-warning{{incompatible redeclaration of library function 'calloc'}} \
int-arith-convert.c 4 // Check types are the same through redeclaration
struct-compat.c 5 extern struct {int a;} x; // expected-error {{redeclaration of 'x'}}
extern-redecl.c 49 extern float *calloc(); // expected-warning {{incompatible redeclaration of library function}} expected-note {{is a builtin}} expected-note 2 {{previous declaration is here}}
52 float *malloc(); // expected-warning {{incompatible redeclaration of library function}} expected-note 2 {{is a builtin}}
57 float *malloc(); // expected-warning {{incompatible redeclaration of library function}}
mrtd.c 21 // expected-error@+3 {{redeclaration of 'a' with a different type: 'void ((*))(int, int) __attribute__((cdecl))' vs 'void (*)(int, int) __attribute__((stdcall))'}}
31 // expected-error@+3 {{redeclaration of 'c' with a different type: 'void ((*))(int, int) __attribute__((stdcall))' vs 'void (*)(int, int)'}}
  /external/clang/test/CodeGen/
ucn-identifiers.c 7 extern void \U000000FCber(int); // redeclaration, no warning
  /external/clang/test/SemaObjC/
objc2-merge-gc-attribue-decl.m 17 extern __weak id p3; // expected-error {{redeclaration of 'p3' with a different type}}
20 extern void * __strong p4; // expected-error {{redeclaration of 'p4' with a different type}}
26 extern char* p6; // expected-error {{redeclaration of 'p6' with a different type}}
29 extern char* p7; // expected-error {{redeclaration of 'p7' with a different type}}
property-atomic-redecl.m 6 // Readonly, atomic public redeclaration of property in subclass.
19 // Readonly, atomic public redeclaration of property in subclass.
36 // Readonly, atomic public redeclaration of property in subclass.
49 // Readonly, atomic public redeclaration of property in subclass.
duplicate-property-class-extension.m 12 @property (readwrite) char bar; // expected-error{{illegal redeclaration of 'readwrite' property in class extension 'Foo' (perhaps you intended this to be a 'readwrite' redeclaration of a 'readonly' public property?)}}
continuation-class-err.m 15 @property(readonly) id object1; // expected-error {{illegal redeclaration of property in class extension 'ReadOnly' (attribute must be 'readwrite', while its primary must be 'readonly')}}
34 @property (copy) id foo; // expected-error {{illegal redeclaration of property in class extension 'Bar' (attribute must be 'readwrite', while its primary must be 'readonly')}}
35 @property (copy) id fee; // expected-error {{illegal redeclaration of property in class extension 'Bar' (attribute must be 'readwrite', while its primary must be 'readonly')}}
  /external/clang/test/SemaObjCXX/
objc2-merge-gc-attribue-decl.mm 39 extern __weak id p3; // expected-error {{redeclaration of 'p3' with a different type}}
42 extern void * __strong p4; // expected-error {{redeclaration of 'p4' with a different type}}
48 extern char* p6; // expected-error {{redeclaration of 'p6' with a different type}}
51 extern char* p7; // expected-error {{redeclaration of 'p7' with a different type}}
  /prebuilts/go/darwin-x86/test/
declbad.go 18 // simple redeclaration
50 // single redeclaration
55 // double redeclaration
62 // triple redeclaration
  /prebuilts/go/linux-x86/test/
declbad.go 18 // simple redeclaration
50 // single redeclaration
55 // double redeclaration
62 // triple redeclaration
  /prebuilts/go/darwin-x86/src/cmd/vet/testdata/
shadow.go 35 i := i // OK: obviously intentional idiomatic redeclaration
41 switch shadowTemp := shadowTemp.(type) { // OK: obviously intentional idiomatic redeclaration
46 if shadowTemp := shadowTemp; true { // OK: obviously intentional idiomatic redeclaration
  /prebuilts/go/linux-x86/src/cmd/vet/testdata/
shadow.go 35 i := i // OK: obviously intentional idiomatic redeclaration
41 switch shadowTemp := shadowTemp.(type) { // OK: obviously intentional idiomatic redeclaration
46 if shadowTemp := shadowTemp; true { // OK: obviously intentional idiomatic redeclaration
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue20415.go 7 // Make sure redeclaration errors report correct position.
  /prebuilts/go/linux-x86/test/fixedbugs/
issue20415.go 7 // Make sure redeclaration errors report correct position.
  /external/clang/test/CXX/basic/basic.link/
p6.cpp 26 // This is a redeclaration of the same entity, even though it doesn't
37 // FIXME: This is not a redeclaration of the prior entity, because
  /external/clang/test/SemaCXX/
redeclared-alias-template.cpp 5 template<typename T1, typename T2> using A = T1; // expected-error {{too many template parameters in template redeclaration}}
14 template<typename X> using SXRInt = typename S<X>::template R<int>; // ok, redeclaration.
attr-abi-tag-syntax.cpp 33 // expected-error@-1 {{cannot add 'abi_tag' attribute in a redeclaration}}
  /external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/
p6.cpp 4 alignas(8) int n1; // expected-error {{redeclaration has different alignment requirement (8 vs 4)}}
35 enum alignas(2) F : char; // expected-error {{redeclaration has different alignment requirement (2 vs 4)}}
53 struct alignas(4) T; // expected-error {{redeclaration has different alignment requirement (4 vs 2)}}
72 alignas(O) alignas(P) char X<M, N, O, P>::Buffer[32]; // expected-error {{redeclaration has different alignment requirement (8 vs 2)}}

Completed in 457 milliseconds

1 2 3 4 5 6 7 8 91011>>