summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2022-12-01 15:09:37 +0100
committerArthur LAURENT <[email protected]>2022-12-01 15:17:55 +0100
commit0760075dfdc49d14aaf122f9a232c6cb70f75263 (patch)
tree178cb108de01c25bcefbe804e5e6e216b6f66444 /xmake/rules/c++/modules/modules_support
parentcb12af8443ea8f9fa617ab0b23dd9420dab40e09 (diff)
fix comments
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
-rw-r--r--xmake/rules/c++/modules/modules_support/clang.lua4
-rw-r--r--xmake/rules/c++/modules/modules_support/gcc.lua2
-rw-r--r--xmake/rules/c++/modules/modules_support/msvc.lua2
3 files changed, 4 insertions, 4 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang.lua b/xmake/rules/c++/modules/modules_support/clang.lua
index fd7b4ca33..aae0e2aa5 100644
--- a/xmake/rules/c++/modules/modules_support/clang.lua
+++ b/xmake/rules/c++/modules/modules_support/clang.lua
@@ -133,7 +133,7 @@ function _get_toolchain_includedirs_for_stlheaders(target, includedirs, clang)
os.tryrm(tmpfile)
end
--- build interface module file
+-- build module file
function _build_modulefile(target, sourcefile, opt)
local objectfile = opt.objectfile
local dependfile = opt.dependfile
@@ -170,7 +170,7 @@ function _build_modulefile(target, sourcefile, opt)
end
end
--- build module file
+-- build interface module file
function _build_interfacemodulefile(target, sourcefile, opt)
local objectfile = opt.objectfile
local dependfile = opt.dependfile
diff --git a/xmake/rules/c++/modules/modules_support/gcc.lua b/xmake/rules/c++/modules/modules_support/gcc.lua
index 53127c6da..78a56976e 100644
--- a/xmake/rules/c++/modules/modules_support/gcc.lua
+++ b/xmake/rules/c++/modules/modules_support/gcc.lua
@@ -94,7 +94,7 @@ function _get_toolchain_includedirs_for_stlheaders(includedirs, gcc)
os.tryrm(tmpfile)
end
--- build interface module file
+-- build module file
function _build_modulefile(target, sourcefile, opt)
local objectfile = opt.objectfile
local dependfile = opt.dependfile
diff --git a/xmake/rules/c++/modules/modules_support/msvc.lua b/xmake/rules/c++/modules/modules_support/msvc.lua
index 0e4610c0e..ec59421c0 100644
--- a/xmake/rules/c++/modules/modules_support/msvc.lua
+++ b/xmake/rules/c++/modules/modules_support/msvc.lua
@@ -84,7 +84,7 @@ function _add_objectfile_to_link_arguments(target, objectfile)
common.localcache():save(cachekey)
end
--- build interface module file
+-- build module file
function _build_modulefile(target, sourcefile, opt)
local objectfile = opt.objectfile
local dependfile = opt.dependfile