We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coming from https://reviews.llvm.org/D154324
Reproducer:
// RUN: rm -rf %t // RUN: mkdir %t // RUN: split-file %s %t // // RUN: %clang_cc1 -std=c++20 -emit-module-interface -I%t %t/module1.cppm -o %t/module1.pcm // RUN: %clang_cc1 -std=c++20 -emit-module-interface -I%t %t/module2.cppm -o %t/module2.pcm // RUN: %clang_cc1 -std=c++20 -fprebuilt-module-path=%t %t/merge.cpp -verify -fsyntax-only //--- header.h namespace NS { template <int I> class A { }; template <template <int I_> class T> class B { }; } //--- module1.h namespace NS { using C = B<A>; } struct D : NS::C { using Type = NS::C; }; //--- module1.cppm // inside NS, using C = B<A> module; #include "header.h" #include "module1.h" export module module1; export using ::D; //--- module2.h namespace NS { using C = B<NS::A>; } struct D : NS::C { using Type = NS::C; }; //--- module2.cppm // inside NS, using C = B<NS::A> module; #include "header.h" #include "module2.h" export module module2; export using ::D; //--- merge.cpp // expected-no-diagnostics import module1; import module2; D d;
The text was updated successfully, but these errors were encountered:
@llvm/issue-subscribers-clang-modules
Sorry, something went wrong.
c31d6b4
ChuanqiXu9
No branches or pull requests
Coming from https://reviews.llvm.org/D154324
Reproducer:
The text was updated successfully, but these errors were encountered: