We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Reproducer:
// RUN: rm -rf %t // RUN: mkdir -p %t // RUN: split-file %s %t // // RUN: %clang_cc1 -std=c++20 %t/A.cppm -emit-module-interface -o %t/A.pcm // RUN: %clang_cc1 -std=c++20 %t/B.cppm -fmodule-file=A=%t/A.pcm -fsyntax-only -verify //--- A.cppm export module A; //--- B.cppm import A; export module B;
Actual behavior: no diagnostic emitted. Expected behavior: an error diagnostic to tell we can't import A here.
The text was updated successfully, but these errors were encountered:
@llvm/issue-subscribers-clang-modules
Sorry, something went wrong.
f9558c6
[C++20] [Modules] Handle import decl before module declaration withou…
595b414
…t being in GMF Close llvm#67627 In a module unit, all the declaration before the modoule declaration should live in the GMF.
ChuanqiXu9
No branches or pull requests
Reproducer:
Actual behavior: no diagnostic emitted.
Expected behavior: an error diagnostic to tell we can't import A here.
The text was updated successfully, but these errors were encountered: