"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/Modules/submodules-merge-defs.cpp" between
cfe-8.0.1.src.tar.xz and cfe-9.0.0.src.tar.xz

About: Clang is an LLVM front end for the C, C++, and Objective-C languages. Clang aims to provide a better user experience through expressive diagnostics, a high level of conformance to language standards, fast compilation, and low memory use.

submodules-merge-defs.cpp  (cfe-8.0.1.src.tar.xz):submodules-merge-defs.cpp  (cfe-9.0.0.src.tar.xz)
skipping to change at line 32 skipping to change at line 32
#endif #endif
// expected-note@defs.h:1 +{{here}} // expected-note@defs.h:1 +{{here}}
extern class A pre_a2; extern class A pre_a2;
int pre_use_a = use_a(pre_a2); // expected-error 2{{'A' must be imported}} expec ted-error {{'use_a' must be imported}} int pre_use_a = use_a(pre_a2); // expected-error 2{{'A' must be imported}} expec ted-error {{'use_a' must be imported}}
// expected-note@defs.h:2 +{{here}} // expected-note@defs.h:2 +{{here}}
B::Inner2 pre_bi; // expected-error +{{must be imported}} B::Inner2 pre_bi; // expected-error +{{must be imported}}
// expected-note@defs.h:4 +{{here}} // expected-note@defs.h:4 +{{here}}
// expected-note@defs.h:17 +{{here}} // expected-note@defs.h:17 +{{here}}
void pre_bfi(B b) { // expected-error +{{must be imported}} void pre_bfi(B b) { // expected-error +{{must be imported}}
b.f<int>(); // expected-error +{{}} b.f<int>();
} }
C_Base<1> pre_cb1; // expected-error +{{must be imported}} C_Base<1> pre_cb1; // expected-error +{{must be imported}}
// expected-note@defs.h:23 +{{here}} // expected-note@defs.h:23 +{{here}}
C1 pre_c1; // expected-error +{{must be imported}} C1 pre_c1; // expected-error +{{must be imported}}
// expected-note@defs.h:25 +{{here}} // expected-note@defs.h:25 +{{here}}
C2 pre_c2; // expected-error +{{must be imported}} C2 pre_c2; // expected-error +{{must be imported}}
// expected-note@defs.h:26 +{{here}} // expected-note@defs.h:26 +{{here}}
D::X pre_dx; // expected-error +{{must be imported}} D::X pre_dx; // expected-error +{{must be imported}}
// expected-note@defs.h:28 +{{here}} // expected-note@defs.h:28 +{{here}}
// expected-note@defs.h:29 +{{here}} // expected-note@defs.h:29 +{{here}}
int pre_use_dx = use_dx(pre_dx); // ignored; pre_dx is invalid int pre_use_dx = use_dx(pre_dx); // ignored; pre_dx is invalid
int pre_e = E(0); // expected-error {{must be imported}} int pre_e = E(0); // expected-error {{must be imported}}
// expected-note@defs.h:32 +{{here}} // expected-note@defs.h:32 +{{here}}
int pre_ff = F<int>().f(); // expected-error +{{must be imported}} int pre_ff = F<int>().f(); // expected-error +{{must be imported}}
int pre_fg = F<int>().g<int>(); // expected-error +{{must be imported}} expected -error 2{{expected}} int pre_fg = F<int>().g<int>(); // expected-error +{{must be imported}}
// expected-note@defs.h:34 +{{here}} // expected-note@defs.h:34 +{{here}}
G::A pre_ga // expected-error +{{must be imported}} G::A pre_ga // expected-error +{{must be imported}}
= G::a; // expected-error +{{must be imported}} = G::a; // expected-error +{{must be imported}}
// expected-note@defs.h:49 +{{here}} // expected-note@defs.h:49 +{{here}}
// expected-note@defs.h:50 +{{here}} // expected-note@defs.h:50 +{{here}}
decltype(G::h) pre_gh = G::h; // expected-error +{{must be imported}} decltype(G::h) pre_gh = G::h; // expected-error +{{must be imported}}
// expected-note@defs.h:51 +{{here}} // expected-note@defs.h:51 +{{here}}
int pre_h = H(); // expected-error +{{must be imported}} int pre_h = H(); // expected-error +{{must be imported}}
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)