-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed as not planned
Labels
clang:modulesC++20 modules and Clang Header ModulesC++20 modules and Clang Header ModulesinvalidResolved as invalid, i.e. not a bugResolved as invalid, i.e. not a bug
Description
Given some module in file a.cpp
export module b;
Compiling it with
clang++ -std=c++20 -x c++-module -fmodule-output=c.pcm --precompile a.cpp
I would expect to produce a file c.pcm. Instead it produces a file a.pcm. Am I misunderstanding the purpose of this option? The documentation states
-fmodule-output=<arg>
Save intermediate module file results when compiling a standard C++ module unit.
Metadata
Metadata
Assignees
Labels
clang:modulesC++20 modules and Clang Header ModulesC++20 modules and Clang Header ModulesinvalidResolved as invalid, i.e. not a bugResolved as invalid, i.e. not a bug