summaryrefslogtreecommitdiffstats
path: root/Source/cmCxxModuleMapper.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2024-02-15 01:25:53 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2024-02-15 01:26:59 (GMT)
commit3f8a59a05c7d2c65020bd2a756d2c6d5a196bec2 (patch)
tree3413c107267f4dd4c9e60aac32507da2a4d23a17 /Source/cmCxxModuleMapper.h
parent5e984bb35232116a54de7db39788cb162ca7c263 (diff)
downloadCMake-3f8a59a05c7d2c65020bd2a756d2c6d5a196bec2.zip
CMake-3f8a59a05c7d2c65020bd2a756d2c6d5a196bec2.tar.gz
CMake-3f8a59a05c7d2c65020bd2a756d2c6d5a196bec2.tar.bz2
cxxmodules: return failure from the collator when private usage is found
Diffstat (limited to 'Source/cmCxxModuleMapper.h')
-rw-r--r--Source/cmCxxModuleMapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCxxModuleMapper.h b/Source/cmCxxModuleMapper.h
index 34111f7..c785099 100644
--- a/Source/cmCxxModuleMapper.h
+++ b/Source/cmCxxModuleMapper.h
@@ -93,7 +93,7 @@ cm::static_string_view CxxModuleMapExtension(
// import cycle).
std::set<std::string> CxxModuleUsageSeed(
CxxModuleLocations const& loc, std::vector<cmScanDepInfo> const& objects,
- CxxModuleUsage& usages);
+ CxxModuleUsage& usages, bool& private_usage_found);
// Return the contents of the module map in the given format for the
// object file.