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

1 2 3 4 5 6 7 8

  /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'}} \
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
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}}
ucn-identifiers.c 8 extern void \U000000FCber(int); // redeclaration, no warning
warn-absolute-value-header.c 8 // expected-warning@-1{{incompatible redeclaration of library function 'fabsf'}}
  /external/clang/test/CodeGen/
ucn-identifiers.c 7 extern void \U000000FCber(int); // redeclaration, no warning
  /external/clang/test/SemaObjC/
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')}}
method-prototype-scope.m 14 - (NSString *)doSomethingWith:(NSString *)object and:(NSArray *)object; // expected-warning {{redeclaration of method parameter 'object'}} \
  /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.
dllexport.cpp 56 __declspec(dllexport) extern int GlobalRedecl3; // expected-error{{redeclaration of 'GlobalRedecl3' cannot add 'dllexport' attribute}}
104 template<typename T> __declspec(dllexport) extern int VarTmplRedecl3; // expected-error{{redeclaration of 'VarTmplRedecl3' cannot add 'dllexport' attribute}}
189 __declspec(dllexport) void redecl3(); // expected-error{{redeclaration of 'redecl3' cannot add 'dllexport' attribute}}
192 __declspec(dllexport) inline void redecl4() {} // expected-error{{redeclaration of 'redecl4' cannot add 'dllexport' attribute}}
203 __declspec(dllexport) void friend3() {} // expected-error{{redeclaration of 'friend3' cannot add 'dllexport' attribute}}
204 __declspec(dllexport) inline void friend4() {} // expected-error{{redeclaration of 'friend4' cannot add 'dllexport' attribute}}
250 template<typename T> __declspec(dllexport) void funcTmplRedecl3(); // expected-error{{redeclaration of 'funcTmplRedecl3' cannot add 'dllexport' attribute}}
253 template<typename T> __declspec(dllexport) inline void funcTmplRedecl4() {} // expected-error{{redeclaration of 'funcTmplRedecl4' cannot add 'dllexport' attribute}}
264 template<typename T> __declspec(dllexport) void funcTmplFriend3() {} // expected-error{{redeclaration of 'funcTmplFriend3' cannot add 'dllexport' attribute}}
265 template<typename T> __declspec(dllexport) inline void funcTmplFriend4() {} // expected-error{{redeclaration of 'funcTmplFriend4' cannot add 'dllexport' attribute}
    [all...]
dllimport.cpp 78 __declspec(dllimport) extern int GlobalRedecl4; // expected-error{{redeclaration of 'GlobalRedecl4' cannot add 'dllimport' attribute}}
141 template<typename T> __declspec(dllimport) extern int VarTmplRedecl4; // expected-error{{redeclaration of 'VarTmplRedecl4' cannot add 'dllimport' attribute}}
227 __declspec(dllimport) void redecl4(); // expected-error{{redeclaration of 'redecl4' cannot add 'dllimport' attribute}}
230 __declspec(dllimport) inline void redecl5() {} // expected-error{{redeclaration of 'redecl5' cannot add 'dllimport' attribute}}
243 __declspec(dllimport) void friend4(); // expected-error{{redeclaration of 'friend4' cannot add 'dllimport' attribute}}
244 __declspec(dllimport) inline void friend5() {} // expected-error{{redeclaration of 'friend5' cannot add 'dllimport' attribute}}
296 template<typename T> __declspec(dllimport) void funcTmplRedecl4(); // expected-error{{redeclaration of 'funcTmplRedecl4' cannot add 'dllimport' attribute}}
299 template<typename T> __declspec(dllimport) inline void funcTmplRedecl5() {} // expected-error{{redeclaration of 'funcTmplRedecl5' cannot add 'dllimport' attribute}}
312 template<typename T> __declspec(dllimport) void funcTmplFriend4(); // expected-error{{redeclaration of 'funcTmplFriend4' cannot add 'dllimport' attribute}}
    [all...]
atomic-type.cxx 20 int &ovl1(_Atomic int); // ok, 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)}}
  /external/clang/test/SemaTemplate/
class-template-decl.cpp 26 template<int N> class A; // expected-error{{template parameter has a different kind in template redeclaration}}
34 template<long> class NonTypeTemplateParm; // expected-error{{template non-type parameter has a different type 'long' in template redeclaration}}
41 template<typename> class TemplateTemplateParm; // expected-error{{template parameter has a different kind in template redeclaration}}
43 template<template<typename T, int> class X> class TemplateTemplateParm; // expected-error{{too many template parameters in template template parameter redeclaration}}
friend-template.cpp 78 // FIXME: the redeclaration note ends up here because redeclaration
80 template<typename U, T Value> friend struct X2b; // expected-error {{template non-type parameter has a different type 'long' in template redeclaration}} \
306 // expected-error {{different type 'char' in template redeclaration}} \
  /external/chromium_org/v8/test/mjsunit/regress/
regress-1104.js 28 // A redeclaration of a variable that aliases a parameter and so rewrites to
regress-1213.js 29 // redeclaration that makes the property configurable (and hence
  /external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
p13.cpp 59 // Typedef redeclaration.
p8.cpp 79 using Base<T>::type::foo; //expected-error {{redeclaration of using decl}}
  /external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/
p1.cpp 37 // thus this is a valid redeclaration

Completed in 421 milliseconds

1 2 3 4 5 6 7 8