OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:redeclaration
(Results
1 - 25
of
165
) sorted by null
1
2
3
4
5
6
7
/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
dllimport.c
67
// Adding an attribute on
redeclaration
.
70
__declspec(dllimport) extern int GlobalRedecl4; // expected-error{{
redeclaration
of 'GlobalRedecl4' cannot add 'dllimport' attribute}}
74
__declspec(dllimport) extern int GlobalRedecl5; // expected-warning{{
redeclaration
of 'GlobalRedecl5' should not add 'dllimport' attribute}}
99
// Local extern
redeclaration
does not drop the attribute.
146
__declspec(dllimport) void redecl4(); // expected-error{{
redeclaration
of 'redecl4' cannot add 'dllimport' attribute}}
150
__declspec(dllimport) void redecl5(); // expected-warning{{
redeclaration
of 'redecl5' should not add 'dllimport' attribute}}
162
// expected-warning@+5{{
redeclaration
of 'redecl7' should not add 'dllimport' attribute}}
dllexport.c
43
__declspec(dllexport) extern int GlobalRedecl3; // expected-error{{
redeclaration
of 'GlobalRedecl3' cannot add 'dllexport' attribute}}
46
__declspec(dllexport) extern int GlobalRedecl4; // expected-warning{{
redeclaration
of 'GlobalRedecl4' should not add 'dllexport' attribute}}
98
__declspec(dllexport) void redecl4(); // expected-error{{
redeclaration
of 'redecl4' cannot add 'dllexport' attribute}}
102
__declspec(dllexport) inline void redecl5() {} // expected-error{{
redeclaration
of 'redecl5' cannot add 'dllexport' attribute}}
106
__declspec(dllexport) void redecl6(); // expected-warning{{
redeclaration
of 'redecl6' should not add 'dllexport' attribute}}
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-warning{{
redeclaration
of 'GlobalRedecl3' should not add 'dllexport' attribute}}
60
__declspec(dllexport) extern int GlobalRedecl4; // expected-warning{{
redeclaration
of 'GlobalRedecl4' should not add 'dllexport' attribute}}
112
template<typename T> __declspec(dllexport) extern int VarTmplRedecl3; // expected-error{{
redeclaration
of 'VarTmplRedecl3' cannot add 'dllexport' attribute}}
197
__declspec(dllexport) void redecl3(); // expected-warning{{
redeclaration
of 'redecl3' should not add 'dllexport' attribute}}
201
__declspec(dllexport) void redecl4(); // expected-warning{{
redeclaration
of 'redecl4' should not add 'dllexport' attribute}}
205
__declspec(dllexport) inline void redecl5() {} // expected-warning{{
redeclaration
of 'redecl5' should not add 'dllexport' attribute}}
216
__declspec(dllexport) void friend3() {} // expected-warning{{
redeclaration
of 'friend3' should not add 'dllexport' attribute}}
217
__declspec(dllexport) inline void friend4() {} // expected-warning{{
redeclaration
of 'friend4' should not add 'dllexport' attribute}}
263
template<typename T> __declspec(dllexport) void funcTmplRedecl3(); // expected-error{{
redeclaration
of 'funcTmplRedecl3' cannot add 'dllexport' attribute}}
266
template<typename T> __declspec(dllexport) inline void funcTmplRedecl4() {} // expected-error{{
redeclaration
of 'funcTmplRedecl4' cannot add 'dllexport' attribute}
[
all
...]
dllimport.cpp
78
__declspec(dllimport) extern int GlobalRedecl4; // expected-warning{{
redeclaration
of 'GlobalRedecl4' should not add 'dllimport' attribute}}
82
__declspec(dllimport) extern int GlobalRedecl5; // expected-warning{{
redeclaration
of 'GlobalRedecl5' should not add 'dllimport' attribute}}
149
template<typename T> __declspec(dllimport) extern int VarTmplRedecl4; // expected-error{{
redeclaration
of 'VarTmplRedecl4' cannot add 'dllimport' attribute}}
244
__declspec(dllimport) void redecl4(); // expected-warning{{
redeclaration
of 'redecl4' should not add 'dllimport' attribute}}
248
__declspec(dllimport) void redecl5(); // expected-warning{{
redeclaration
of 'redecl5' should not add 'dllimport' attribute}}
253
__declspec(dllimport) inline void redecl6() {} // expected-warning{{
redeclaration
of 'redecl6' should not add 'dllimport' attribute}}
273
__declspec(dllimport) void friend4(); // expected-warning{{
redeclaration
of 'friend4' should not add 'dllimport' attribute}}
275
__declspec(dllimport) inline void friend5() {} // expected-warning{{
redeclaration
of 'friend5' should not add 'dllimport' attribute}}
348
template<typename T> __declspec(dllimport) void funcTmplRedecl4(); // expected-error{{
redeclaration
of 'funcTmplRedecl4' cannot add 'dllimport' attribute}}
352
template<typename T> __declspec(dllimport) inline void funcTmplRedecl5() {} // expected-error{{
redeclaration
of 'funcTmplRedecl5' cannot add 'dllimport' attribute}
[
all
...]
/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/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
/external/v8/test/mjsunit/regress/
regress-1104.js
28
// A
redeclaration
of a variable that aliases a parameter and so rewrites to
Completed in 623 milliseconds
1
2
3
4
5
6
7