if (format == AtFileFormat::msvc) {
break;
}
- // Fall through.
+ [[fallthrough]];
case '"':
if (quoting != '\0') {
if (quoting) {
break;
}
- // Fall through.
+ [[fallthrough]];
case '\0':
// End of token
switch (*p) {
case 'T':
result *= multiplier;
- // Fallthrough.
+ [[fallthrough]];
case 'G':
result *= multiplier;
- // Fallthrough.
+ [[fallthrough]];
case 'M':
result *= multiplier;
- // Fallthrough.
+ [[fallthrough]];
case 'K':
case 'k':
result *= multiplier;
modified_text = strip_ansi_csi_seqs(text);
text_to_send = &modified_text;
} catch (const core::Error&) {
- // Fall through
+ // Ignore.
}
}
-// Copyright (C) 2020-2021 Joel Rosdahl and other contributors
+// Copyright (C) 2020-2022 Joel Rosdahl and other contributors
//
// See doc/AUTHORS.adoc for a complete list of contributors.
//
++bs;
break;
}
- // Fallthrough.
+ [[fallthrough]];
+
case '"':
bs = (bs << 1) + 1;
- // Fallthrough.
+ [[fallthrough]];
+
default:
while (bs > 0) {
result += '\\';