summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/core/tools/clang_cl.lua18
1 files changed, 0 insertions, 18 deletions
diff --git a/xmake/modules/core/tools/clang_cl.lua b/xmake/modules/core/tools/clang_cl.lua
index 68b568f1a..5eb2c7421 100644
--- a/xmake/modules/core/tools/clang_cl.lua
+++ b/xmake/modules/core/tools/clang_cl.lua
@@ -101,24 +101,6 @@ function nf_optimize(self, level)
return maps[level]
end
--- make the warning flag
-function nf_warning(self, level)
-
- -- the maps
- local maps =
- {
- none = "-w"
- , less = "-Wall"
- , more = "-Wall"
- , all = "-Wall"
- , everything = "-Wall -Wextra -Weffc++"
- , error = "-Werror"
- }
-
- -- make it
- return maps[level]
-end
-
-- make the language flag
function nf_language(self, stdname)