aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/cc/compile-rule.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx
index 51a30ae..4431abd 100644
--- a/build2/cc/compile-rule.cxx
+++ b/build2/cc/compile-rule.cxx
@@ -169,6 +169,7 @@ namespace build2
case lang::cxx: return "c++";
}
}
+ // Fall through.
case compiler_id::clang:
case compiler_id::clang_apple:
{
@@ -183,6 +184,7 @@ namespace build2
case lang::cxx: return m ? "c++-module" : "c++";
}
}
+ // Fall through.
case compiler_id::msvc:
{
switch (x_lang)
@@ -191,6 +193,7 @@ namespace build2
case lang::cxx: return "/TP";
}
}
+ // Fall through.
case compiler_id::icc:
{
switch (x_lang)