OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:redeclared
(Results
1 - 25
of
106
) sorted by null
1
2
3
4
5
/external/clang/test/Rewriter/
missing-dllimport.c
3
// Do not report that 'foo()' is
redeclared
without dllimport attribute.
/external/clang/test/CXX/except/except.spec/
p4.cpp
13
S::~S() noexcept {} // expected-warning {{function previously declared with an implicit exception specification
redeclared
with an explicit exception specification}}
14
void S::operator delete(void*) noexcept {} // expected-warning {{function previously declared with an implicit exception specification
redeclared
with an explicit exception specification}}
23
T::~T() {} // expected-warning {{function previously declared with an explicit exception specification
redeclared
with an implicit exception specification}}
24
void T::operator delete(void*) {} // expected-warning {{function previously declared with an explicit exception specification
redeclared
with an implicit exception specification}}
p15.cpp
16
void operator delete(void*); // expected-warning {{function previously declared with an explicit exception specification
redeclared
with an implicit exception specification}}
17
void operator delete[](void*); // expected-warning {{function previously declared with an explicit exception specification
redeclared
with an implicit exception specification}}
/external/clang/test/SemaCXX/
overload-decl.cpp
23
void f(INT); // expected-error{{cannot be
redeclared
}}
31
static void g(float); // expected-error {{class member cannot be
redeclared
}}
35
void h() __restrict; // expected-error {{class member cannot be
redeclared
}} \
access.cpp
7
struct S {}; // expected-error {{'S'
redeclared
with 'public' access}}
14
class C { }; // expected-error {{'C'
redeclared
with 'private' access}}
22
template<typename T> struct A {}; // expected-error {{'A'
redeclared
with 'private' access}}
32
class X; // expected-error {{'X'
redeclared
with 'public' access}} \
33
// expected-warning {{class member cannot be
redeclared
}}
cxx1y-constexpr-not-const.cpp
12
// expected-error@6 {{class member cannot be
redeclared
}}
gnu-flags.cpp
8
// RUN: -Wno-gnu-anonymous-struct -Wno-
redeclared
-class-member \
38
// expected-warning@+6 {{class member cannot be
redeclared
}}
enum-scoped.cpp
93
enum Redeclare6 : short; // expected-error{{
redeclared
with different underlying type}}
94
enum Redeclare6 : short; // expected-error{{
redeclared
with different underlying type}}
97
enum class Redeclare7 : short; // expected-error{{
redeclared
with different underlying type}}
98
enum class Redeclare7 : short; // expected-error{{
redeclared
with different underlying type}}
201
template<typename T> enum class S<T>::B : char { b }; // expected-error {{
redeclared
with different underlying}}
203
template<typename T> enum class S<T>::D : char { d }; // expected-error {{
redeclared
with different underlying}}
constructor.cpp
10
((Foo))(INT); // expected-error{{cannot be
redeclared
}}
dllimport.cpp
48
int ExternGlobalDeclInit = 1; // expected-warning{{'ExternGlobalDeclInit'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
51
int GlobalDeclInit = 1; // expected-warning{{'GlobalDeclInit'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
54
int *GlobalDeclChunkAttrInit = 0; // expected-warning{{'GlobalDeclChunkAttrInit'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
57
int GlobalDeclAttrInit = 1; // expected-warning{{'GlobalDeclAttrInit'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
75
extern int GlobalRedecl3; // expected-warning{{'GlobalRedecl3'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
125
template<typename T> int ExternVarTmplDeclInit = 1; // expected-warning{{'ExternVarTmplDeclInit'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
128
template<typename T> int VarTmplDeclInit = 1; // expected-warning{{'VarTmplDeclInit'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
138
template<typename T> extern int VarTmplRedecl3; // expected-warning{{'VarTmplRedecl3'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
221
void redecl2(); // expected-warning{{'redecl2'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
224
void redecl3() {} // expected-warning{{'redecl3'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}
[
all
...]
class.cpp
123
void S::f() {} // expected-error {{extra qualification on member}} expected-error {{class member cannot be
redeclared
}} expected-note {{previous declaration}} expected-note {{previous definition}}
124
void f() {} // expected-error {{class member cannot be
redeclared
}} expected-error {{redefinition}}
conversion-function.cpp
48
operator INT(); // expected-error{{conversion function cannot be
redeclared
}}
49
operator INT_PTR*(); // expected-error{{conversion function cannot be
redeclared
}}
/external/clang/test/Sema/
dllimport.c
38
int ExternGlobalDeclInit = 1; // expected-warning{{'ExternGlobalDeclInit'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
41
int GlobalDeclInit = 1; // expected-warning{{'GlobalDeclInit'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
44
int *GlobalDeclChunkAttrInit = 0; // expected-warning{{'GlobalDeclChunkAttrInit'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
47
int GlobalDeclAttrInit = 1; // expected-warning{{'GlobalDeclAttrInit'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
65
extern int GlobalRedecl3; // expected-warning{{'GlobalRedecl3'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
121
void redecl2(); // expected-warning{{'redecl2'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
124
void redecl3() {} // expected-warning{{'redecl3'
redeclared
without 'dllimport' attribute: previous 'dllimport' ignored}}
gnu-flags.c
7
// RUN: -Wgnu-
redeclared
-enum -Wgnu-folding-constant -Wgnu-empty-struct \
13
// RUN: -Wno-gnu-
redeclared
-enum -Wno-gnu-folding-constant -Wno-gnu-empty-struct \
25
// %clang_cc1 -fsyntax-only -verify %s -DREDECLAREDENUM -Wno-gnu -Wgnu-
redeclared
-enum
/external/clang/test/Parser/
cxx0x-ambig.cpp
114
void f(S(...args)[sizeof(T)]); // expected-error {{
redeclared
}} expected-note {{here}}
115
void f(S ...args[sizeof(T)]); // expected-error {{
redeclared
}}
118
void g(S ...[sizeof(T)]); // expected-error {{
redeclared
}}
122
void i(int(T...a)); // expected-error {{
redeclared
}}
DelayedTemplateParsing.cpp
14
void foo4() { } // expected-error {{class member cannot be
redeclared
}} expected-error {{redefinition of 'foo4'}}
/external/clang/test/SemaObjC/
property-noninherited-availability-attr.m
4
// when a property is
redeclared
in a subclass. This is intentional.
attr-availability.m
38
// subclass where the
redeclared
method is not deprecated.
/external/clang/test/SemaTemplate/
canonical-expr-type.cpp
48
void f0(type3); // expected-error{{
redeclared
}}
/external/clang/include/clang/AST/
Redeclarable.h
1
//===-- Redeclarable.h - Base for Decls that can be
redeclared
-*- C++ -*-====//
24
/// \brief Provides common interface for the Decls that can be
redeclared
.
247
/// \brief Provides common interface for the Decls that cannot be
redeclared
,
ASTMutationListener.h
88
/// \brief A objc class extension
redeclared
or introduced a property.
/external/clang/test/CXX/temp/temp.decls/temp.class.spec/
p6.cpp
42
template<typename Y> struct Inner<U, Y> {}; // expected-error{{cannot be
redeclared
}}
/libcore/luni/src/main/java/java/util/concurrent/
ThreadLocalRandom.java
36
// same constants as Random, but must be
redeclared
because private
/external/clang/test/CXX/drs/
dr0xx.cpp
906
struct B; // expected-error{{class member cannot be
redeclared
}}
910
union U; // expected-error{{class member cannot be
redeclared
}}
915
enum E1 : int; // expected-error{{class member cannot be
redeclared
}}
919
enum class E2; // expected-error{{class member cannot be
redeclared
}}
926
struct B; // expected-error{{class member cannot be
redeclared
}}
/external/clang/lib/Sema/
IdentifierResolver.cpp
111
// handler and shall not be
redeclared
in the outermost block of the
117
//
redeclared
in a subsequent condition of that statement nor in the
Completed in 681 milliseconds
1
2
3
4
5