Source: Fix clang -Wimplicit-fallthrough warnings

This commit is contained in:
Sean McBride
2021-09-24 11:56:57 -04:00
committed by Brad King
parent 907d098838
commit 37859e3244
27 changed files with 67 additions and 22 deletions

View File

@@ -120,6 +120,7 @@ bool cmIncludeCommand(std::vector<std::string> const& args,
case cmPolicies::WARN:
e << cmPolicies::GetPolicyWarning(cmPolicies::CMP0024) << "\n";
modal = "should";
CM_FALLTHROUGH;
case cmPolicies::OLD:
break;
case cmPolicies::REQUIRED_IF_USED: