Skip to content

Commit

Permalink
remove unused codes
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Aug 18, 2022
1 parent a7558af commit 365f650
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions xmake/rules/c++/modules/modules_support/msvc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 365f650

Please sign in to comment.