summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/msvc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/msvc.lua')
-rw-r--r--xmake/rules/c++/modules/modules_support/msvc.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/xmake/rules/c++/modules/modules_support/msvc.lua b/xmake/rules/c++/modules/modules_support/msvc.lua
index e3481b825..f7dc7451c 100644
--- a/xmake/rules/c++/modules/modules_support/msvc.lua
+++ b/xmake/rules/c++/modules/modules_support/msvc.lua
@@ -44,17 +44,6 @@ function _add_module_to_mapper(target, argument, namekey, path, objectfile, bmif
common.localcache():set2(_mapper_cachekey(target), "modulemap", modulemap)
end
-function _mapper_has_unique_header(target, name)
- local modulemap = _get_modulemap_from_mapper(target)
- name = path.filename(name)
-
- for n, _ in pairs(modulemap) do
- if path.filename(n) == name then
- return true
- end
- end
-end
-
function _mapper_cachekey(target)
return target:name() .. "_modulemap"
end