-
Notifications
You must be signed in to change notification settings - Fork 15k
Open
Labels
clang:modulesC++20 modules and Clang Header ModulesC++20 modules and Clang Header Moduleshelp wantedIndicates that a maintainer wants help. Not [good first issue].Indicates that a maintainer wants help. Not [good first issue].
Description
The language allows we have attributes on module declarations, e.g.,
export module module_name [[attribute]];
Although we don't have any attribute right now, we will have. It will be good to have some basic support for this. So that we can add new attribute easily like we do for class or functions.
To implement this, I think the most simple way is to store the attributes in the clang::Module class. The other option may be to create a ModuleDecl class or add this to TranslationUnitDecl (as module units are basically translation unit.)
Metadata
Metadata
Assignees
Labels
clang:modulesC++20 modules and Clang Header ModulesC++20 modules and Clang Header Moduleshelp wantedIndicates that a maintainer wants help. Not [good first issue].Indicates that a maintainer wants help. Not [good first issue].