From 365f650e4c783fddb4010eced5c75f4b6285a60a Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 18 Aug 2022 22:29:38 +0800 Subject: remove unused codes --- xmake/rules/c++/modules/modules_support/msvc.lua | 11 ----------- 1 file changed, 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 -- cgit v1.3.1