Lines Matching full:previous
47 __declspec(dllimport) extern int ExternGlobalDeclInit; // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
48 int ExternGlobalDeclInit = 1; // expected-warning{{'ExternGlobalDeclInit' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
50 __declspec(dllimport) int GlobalDeclInit; // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
51 int GlobalDeclInit = 1; // expected-warning{{'GlobalDeclInit' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
53 int *__attribute__((dllimport)) GlobalDeclChunkAttrInit; // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
54 int *GlobalDeclChunkAttrInit = 0; // expected-warning{{'GlobalDeclChunkAttrInit' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
56 int GlobalDeclAttrInit __attribute__((dllimport)); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
57 int GlobalDeclAttrInit = 1; // expected-warning{{'GlobalDeclAttrInit' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
74 __declspec(dllimport) extern int GlobalRedecl3; // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
75 extern int GlobalRedecl3; // expected-warning{{'GlobalRedecl3' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
77 extern int GlobalRedecl4; // expected-note{{previous declaration is here}}
81 extern int GlobalRedecl5; // expected-note{{previous declaration is here}}
98 __declspec(dllimport) float LocalRedecl1; // expected-note{{previous definition is here}}
99 __declspec(dllimport) float LocalRedecl2; // expected-note{{previous definition is here}}
100 __declspec(dllimport) float LocalRedecl3; // expected-note{{previous definition is here}}
132 template<typename T> __declspec(dllimport) extern int ExternVarTmplDeclInit; // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
133 template<typename T> int ExternVarTmplDeclInit = 1; // expected-warning{{'ExternVarTmplDeclInit' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
135 template<typename T> __declspec(dllimport) int VarTmplDeclInit; // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
136 template<typename T> int VarTmplDeclInit = 1; // expected-warning{{'VarTmplDeclInit' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
145 template<typename T> __declspec(dllimport) extern int VarTmplRedecl3; // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
146 template<typename T> extern int VarTmplRedecl3; // expected-warning{{'VarTmplRedecl3' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
148 template<typename T> extern int VarTmplRedecl4; // expected-note{{previous declaration is here}}
237 __declspec(dllimport) void redecl2(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
238 void redecl2(); // expected-warning{{'redecl2' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
240 __declspec(dllimport) void redecl3(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
241 void redecl3() {} // expected-warning{{'redecl3' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
243 void redecl4(); // expected-note{{previous declaration is here}}
247 void redecl5(); // expected-note{{previous declaration is here}}
252 void redecl6(); // expected-note{{previous declaration is here}}
262 friend __declspec(dllimport) void friend2(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
263 friend __declspec(dllimport) void friend3(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
264 friend void friend4(); // expected-note{{previous declaration is here}}
266 // expected-note@+2{{previous declaration is here}}
271 void friend2(); // expected-warning{{'friend2' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
272 void friend3() {} // expected-warning{{'friend3' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
281 previous declaration is here}} expected-note{{previous attribute is here}}
284 friend void friend6(); // expected-warning{{'friend6' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
341 template<typename T> __declspec(dllimport) void funcTmplRedecl2(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
342 template<typename T> void funcTmplRedecl2(); // expected-warning{{'funcTmplRedecl2' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
344 template<typename T> __declspec(dllimport) void funcTmplRedecl3(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
345 template<typename T> void funcTmplRedecl3() {} // expected-warning{{'funcTmplRedecl3' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
347 template<typename T> void funcTmplRedecl4(); // expected-note{{previous declaration is here}}
351 template<typename T> void funcTmplRedecl5(); // expected-note{{previous declaration is here}}
358 template<typename T> friend __declspec(dllimport) void funcTmplFriend2(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
359 template<typename T> friend __declspec(dllimport) void funcTmplFriend3(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
360 template<typename T> friend void funcTmplFriend4(); // expected-note{{previous declaration is here}}
367 template<typename T> void funcTmplFriend2(); // expected-warning{{'funcTmplFriend2' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
368 template<typename T> void funcTmplFriend3() {} // expected-warning{{'funcTmplFriend3' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
444 __declspec(dllimport) void normalDef(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
452 __declspec(dllimport) void normalDef(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
461 __declspec(dllimport) virtual void virtualDef(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
470 __declspec(dllimport) static void staticDef(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
492 void ImportMembers::Nested::normalDef() {} // expected-warning{{'ImportMembers::Nested::normalDef' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
493 void ImportMembers::normalDef() {} // expected-warning{{'ImportMembers::normalDef' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
499 void ImportMembers::virtualDef() {} // expected-warning{{'ImportMembers::virtualDef' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
505 void ImportMembers::staticDef() {} // expected-warning{{'ImportMembers::staticDef' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
617 __declspec(dllimport) ~ImportDefaultedDefs(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
621 // expected-note@+2{{previous declaration is here}}
627 __declspec(dllimport) ImportDefaultedDefs& operator=(ImportDefaultedDefs&&); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
634 ImportDefaultedDefs::~ImportDefaultedDefs() = default; // expected-warning{{'ImportDefaultedDefs::~ImportDefaultedDefs' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
645 ImportDefaultedDefs& ImportDefaultedDefs::operator=(ImportDefaultedDefs&&) = default; // expected-warning{{'ImportDefaultedDefs::operator=' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
650 void normalDef(); // expected-note{{previous declaration is here}}
651 inline void normalInlineDecl(); // expected-note{{previous declaration is here}}
652 virtual void virtualDef(); // expected-note{{previous declaration is here}}
653 virtual inline void virtualInlineDecl(); // expected-note{{previous declaration is here}}
654 static void staticDef(); // expected-note{{previous declaration is here}}
655 static inline void staticInlineDecl(); // expected-note{{previous declaration is here}}
658 // expected-note@+4{{previous declaration is here}}
659 // expected-note@+4{{previous declaration is here}}
660 // expected-note@+4{{previous declaration is here}}
666 static int StaticField; // expected-note{{previous declaration is here}}
667 static const int StaticConstField; // expected-note{{previous declaration is here}}
668 constexpr static int ConstexprField = 1; // expected-note{{previous declaration is here}}
711 template<typename T> __declspec(dllimport) void normalDef(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
714 template<typename T> __declspec(dllimport) static void staticDef(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
740 template<typename T> void ImportMemberTmpl::normalDef() {} // expected-warning{{'ImportMemberTmpl::normalDef' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
742 template<typename T> void ImportMemberTmpl::staticDef() {} // expected-warning{{'ImportMemberTmpl::staticDef' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
761 template<typename T> void normalDef(); // expected-note{{previous declaration is here}}
762 template<typename T> inline void normalInlineDecl(); // expected-note{{previous declaration is here}}
763 template<typename T> static void staticDef(); // expected-note{{previous declaration is here}}
764 template<typename T> static inline void staticInlineDecl(); // expected-note{{previous declaration is here}}
767 // expected-note@+3{{previous declaration is here}}
768 // expected-note@+3{{previous declaration is here}}
774 template<typename T> static int StaticField; // expected-note{{previous declaration is here}}
775 template<typename T> static const int StaticConstField; // expected-note{{previous declaration is here}}
776 template<typename T> constexpr static int ConstexprField = 1; // expected-note{{previous declaration is here}}
967 __declspec(dllimport) void normalDef(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
970 __declspec(dllimport) virtual void virtualDef(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
973 __declspec(dllimport) static void staticDef(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
1010 template<typename T> void ImportClassTmplMembers<T>::normalDef() {} // expected-warning{{'ImportClassTmplMembers::normalDef' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
1016 template<typename T> void ImportClassTmplMembers<T>::virtualDef() {} // expected-warning{{'ImportClassTmplMembers::virtualDef' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
1022 template<typename T> void ImportClassTmplMembers<T>::staticDef() {} // expected-warning{{'ImportClassTmplMembers::staticDef' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
1037 void normalDef(); // expected-note{{previous declaration is here}}
1038 inline void normalInlineDecl(); // expected-note{{previous declaration is here}}
1039 virtual void virtualDef(); // expected-note{{previous declaration is here}}
1040 virtual inline void virtualInlineDecl(); // expected-note{{previous declaration is here}}
1041 static void staticDef(); // expected-note{{previous declaration is here}}
1042 static inline void staticInlineDecl(); // expected-note{{previous declaration is here}}
1045 // expected-note@+4{{previous declaration is here}}
1046 // expected-note@+4{{previous declaration is here}}
1047 // expected-note@+4{{previous declaration is here}}
1053 static int StaticField; // expected-note{{previous declaration is here}}
1054 static const int StaticConstField; // expected-note{{previous
1055 constexpr static int ConstexprField = 1; // expected-note{{previous declaration is here}}
1097 template<typename U> __declspec(dllimport) void normalDef(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
1100 template<typename U> __declspec(dllimport) static void staticDef(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
1126 template<typename T> template<typename U> void ImportClsTmplMemTmpl<T>::normalDef() {} // expected-warning{{'ImportClsTmplMemTmpl::normalDef' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
1128 template<typename T> template<typename U> void ImportClsTmplMemTmpl<T>::staticDef() {} // expected-warning{{'ImportClsTmplMemTmpl::staticDef' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}}
1148 template<typename U> void normalDef(); // expected-note{{previous declaration is here}}
1149 template<typename U> inline void normalInlineDecl(); // expected-note{{previous declaration is here}}
1150 template<typename U> static void staticDef(); // expected-note{{previous declaration is here}}
1151 template<typename U> static inline void staticInlineDecl(); // expected-note{{previous declaration is here}}
1154 // expected-note@+3{{previous declaration is here}}
1155 // expected-note@+3{{previous declaration is here}}
1161 template<typename U> static int StaticField; // expected-note{{previous declaration is here}}
1162 template<typename U> static const int StaticConstField; // expected-note{{previous declaration is here}}
1163 template<typename U> constexpr static int ConstexprField = 1; // expected-note{{previous declaration is here}}
1211 // expected-note@+5{{previous attribute is here}}
1212 // expected-note@+4{{previous attribute is here}}
1222 // expected-note@+5{{previous attribute is here}}
1223 // expected-note@+4{{previous attribute is here}}