diff options
| author | ruki <[email protected]> | 2020-03-21 22:45:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-03-21 22:45:30 +0800 |
| commit | 5c77c122ff98915a9ac0efa6b939ce0dfdf02100 (patch) | |
| tree | d6ae681bd72b6f82b0a4116cad3ea28c8e4f2f18 | |
| parent | 3179d4f18b89e90d0970d3a3b4186d3bf06c058f (diff) | |
update warn flags for clang-cl
| -rw-r--r-- | xmake/modules/core/tools/clang_cl.lua | 18 |
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) |
