ClickHouse/src/Storages/WindowView
Robert Schulze 89aa9ae00f
Fixed clang-tidy check "bugprone-branch-clone"
The check is currently *not* part of .clang-tidy. It complains about:
(1) "switch has multiple consecutive identical branches"
(2) "repeated branch in conditional chain"

About (1): Lots of findings in switches were about redundant
"[[fallthrough]]" in places where the compiler would not warn anyways. I
have cleaned these up.

About (2): In if-else_if-else chains, fixing the warning would usually
mean concatenating multiple if-conditions. As this would reduce
readability in most cases, I did not fix these places.

Because of (2), I also refrained from adding "bugprone-branch-clone" to
.clang-tidy.
2022-04-30 19:40:28 +02:00
..
StorageWindowView.cpp Fixed clang-tidy check "bugprone-branch-clone" 2022-04-30 19:40:28 +02:00
StorageWindowView.h Try remove unneed variable 2022-04-01 09:58:23 +00:00
WindowViewSource.h small update 2021-12-13 02:38:16 +00:00