diff options
| author | ruki <[email protected]> | 2022-08-18 22:29:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-08-18 22:29:38 +0800 |
| commit | 365f650e4c783fddb4010eced5c75f4b6285a60a (patch) | |
| tree | ac49c9a8980c908b233e0a1b0b39f19733565020 /xmake/rules/c++/modules/modules_support/msvc.lua | |
| parent | a7558af4029f5d08fe4ded8fa3bca3d7f7a43798 (diff) | |
remove unused codes
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/msvc.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/msvc.lua | 11 |
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 |
