aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlmarkov <vlmarkov@yandex-team.ru>2022-02-10 16:46:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:07 +0300
commitdbd3185956979f21ea16ef90c1ba4aa2d6a75fae (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c
parent6a382399c9a1053abd7d772ec30ca9873f7429a1 (diff)
downloadydb-dbd3185956979f21ea16ef90c1ba4aa2d6a75fae.tar.gz
Restoring authorship annotation for <vlmarkov@yandex-team.ru>. Commit 2 of 2.
-rw-r--r--contrib/restricted/thrift/ya.make4
-rw-r--r--library/cpp/actors/core/executor_pool_united.cpp2
-rw-r--r--library/cpp/actors/http/http.h2
-rw-r--r--library/cpp/actors/interconnect/interconnect_handshake.cpp10
-rw-r--r--library/cpp/codecs/greedy_dict/gd_stats.h4
-rw-r--r--library/cpp/coroutine/engine/network.cpp4
-rw-r--r--library/cpp/histogram/adaptive/adaptive_histogram.cpp2
-rw-r--r--library/cpp/http/fetch/httpparser.h4
-rw-r--r--library/cpp/http/fetch/httpzreader.h2
-rw-r--r--library/cpp/http/io/stream.cpp2
-rw-r--r--library/cpp/protobuf/json/proto2json_printer.cpp2
-rw-r--r--library/cpp/regex/hyperscan/hyperscan.cpp4
-rw-r--r--library/cpp/scheme/scheme.cpp2
-rw-r--r--library/cpp/scheme/scimpl_json_write.cpp2
-rw-r--r--library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp4
-rw-r--r--library/cpp/streams/bzip2/bzip2.cpp2
-rw-r--r--library/cpp/terminate_handler/terminate_handler.cpp4
-rw-r--r--library/cpp/testing/unittest/utmain.cpp2
-rw-r--r--library/cpp/uri/parse.cpp2
-rw-r--r--library/cpp/yson_pull/detail/writer.h4
-rw-r--r--util/digest/murmur.cpp20
-rw-r--r--util/draft/datetime.cpp6
-rw-r--r--util/stream/zlib.cpp4
-rw-r--r--ydb/library/yql/ast/yql_expr.cpp4
-rw-r--r--ydb/library/yql/core/common_opt/yql_co_simple1.cpp2
-rw-r--r--ydb/library/yql/core/type_ann/type_ann_core.cpp2
-rw-r--r--ydb/library/yql/core/type_ann/type_ann_list.cpp2
-rw-r--r--ydb/library/yql/core/yql_expr_csee.cpp2
-rw-r--r--ydb/library/yql/core/yql_expr_type_annotation.cpp8
-rw-r--r--ydb/library/yql/minikql/dom/peel.cpp2
-rw-r--r--ydb/library/yql/sql/v1/sql.cpp4
-rw-r--r--ydb/library/yql/udfs/common/yson2/yson2_udf.cpp2
-rw-r--r--ydb/public/sdk/cpp/client/ydb_table/table.cpp2
33 files changed, 62 insertions, 62 deletions
diff --git a/contrib/restricted/thrift/ya.make b/contrib/restricted/thrift/ya.make
index e38e2fc95e..ffdf32e4f7 100644
--- a/contrib/restricted/thrift/ya.make
+++ b/contrib/restricted/thrift/ya.make
@@ -13,8 +13,8 @@ OWNER(
NO_UTIL()
-NO_COMPILER_WARNINGS()
-
+NO_COMPILER_WARNINGS()
+
ADDINCL(
GLOBAL contrib/restricted/thrift
)
diff --git a/library/cpp/actors/core/executor_pool_united.cpp b/library/cpp/actors/core/executor_pool_united.cpp
index 885ccaae2d..dac6245635 100644
--- a/library/cpp/actors/core/executor_pool_united.cpp
+++ b/library/cpp/actors/core/executor_pool_united.cpp
@@ -546,7 +546,7 @@ namespace NActors {
switch (SlowWorkerAction(wctx.PoolId)) {
case WakeFast:
WakeFastWorker();
- [[fallthrough]]; // no break; pass through
+ [[fallthrough]]; // no break; pass through
case BecameIdle:
wctx.Lease = wctx.Lease.NeverExpire();
wctx.PoolId = MaxPools;
diff --git a/library/cpp/actors/http/http.h b/library/cpp/actors/http/http.h
index 97327ea127..96c5c1ec48 100644
--- a/library/cpp/actors/http/http.h
+++ b/library/cpp/actors/http/http.h
@@ -505,7 +505,7 @@ public:
switch (Stage) {
case ERenderStage::Header:
FinishHeader();
- break;
+ break;
default:
break;
}
diff --git a/library/cpp/actors/interconnect/interconnect_handshake.cpp b/library/cpp/actors/interconnect/interconnect_handshake.cpp
index 58cd6dc639..9ede998d8e 100644
--- a/library/cpp/actors/interconnect/interconnect_handshake.cpp
+++ b/library/cpp/actors/interconnect/interconnect_handshake.cpp
@@ -207,7 +207,7 @@ namespace NActors {
case NInterconnect::TSecureSocket::EStatus::ERROR:
Fail(TEvHandshakeFail::HANDSHAKE_FAIL_PERMANENT, err, true);
- [[fallthrough]];
+ [[fallthrough]];
case NInterconnect::TSecureSocket::EStatus::WANT_READ:
WaitPoller(true, false, "ReadEstablish");
@@ -224,7 +224,7 @@ namespace NActors {
switch (const ui32 type = ev->GetTypeRewrite()) {
case TEvents::TSystem::Wakeup:
Fail(TEvHandshakeFail::HANDSHAKE_FAIL_TRANSIENT, Sprintf("Handshake timed out, State# %s", State.data()), true);
- [[fallthrough]];
+ [[fallthrough]];
case ui32(ENetwork::NodeInfo):
case TEvInterconnect::EvNodeAddress:
@@ -878,9 +878,9 @@ namespace NActors {
Fail(TEvHandshakeFail::HANDSHAKE_FAIL_PERMANENT, Sprintf("Connection failed: %s", strerror(err)), true);
}
break;
-
- default:
- break;
+
+ default:
+ break;
}
auto it = LastLogNotice.find(PeerNodeId);
diff --git a/library/cpp/codecs/greedy_dict/gd_stats.h b/library/cpp/codecs/greedy_dict/gd_stats.h
index 9a5cee4219..b63c4c38d2 100644
--- a/library/cpp/codecs/greedy_dict/gd_stats.h
+++ b/library/cpp/codecs/greedy_dict/gd_stats.h
@@ -61,12 +61,12 @@ namespace NGreedyDict {
switch (score) {
case ES_LEN_COUNT:
m = len;
- [[fallthrough]];
+ [[fallthrough]];
case ES_COUNT:
return m * count;
case ES_LEN_SIMPLE:
m = len;
- [[fallthrough]];
+ [[fallthrough]];
case ES_SIMPLE:
return m * SimpleTest(modelp, count, total);
case ES_SOLAR:
diff --git a/library/cpp/coroutine/engine/network.cpp b/library/cpp/coroutine/engine/network.cpp
index c1dcf10d46..85b647d210 100644
--- a/library/cpp/coroutine/engine/network.cpp
+++ b/library/cpp/coroutine/engine/network.cpp
@@ -68,8 +68,8 @@ namespace NCoro {
case ETIMEDOUT:
if (status != EINPROGRESS) {
break;
- }
- [[fallthrough]];
+ }
+ [[fallthrough]];
default:
status = ev.Status();
ret = &ev;
diff --git a/library/cpp/histogram/adaptive/adaptive_histogram.cpp b/library/cpp/histogram/adaptive/adaptive_histogram.cpp
index 8680e45b25..cbfc494021 100644
--- a/library/cpp/histogram/adaptive/adaptive_histogram.cpp
+++ b/library/cpp/histogram/adaptive/adaptive_histogram.cpp
@@ -190,7 +190,7 @@ namespace NKiwiAggr {
case HT_ADAPTIVE_HISTOGRAM:
if (CalcQuality != nullptr)
break; // ok
- [[fallthrough]];
+ [[fallthrough]];
default: // not ok
ythrow yexception() << "Attempt to parse TAdaptiveHistogram from THistogram protobuf record of type = " << (ui32)histo.GetType();
}
diff --git a/library/cpp/http/fetch/httpparser.h b/library/cpp/http/fetch/httpparser.h
index d9348e9cca..769828e4ae 100644
--- a/library/cpp/http/fetch/httpparser.h
+++ b/library/cpp/http/fetch/httpparser.h
@@ -195,7 +195,7 @@ protected:
case hp_begin_chunk_header:
ChunkParser.Init();
State = hp_chunk_header;
- [[fallthrough]];
+ [[fallthrough]];
case hp_chunk_header:
if ((ret = ChunkParser.Execute(buf, size)) < 0) {
@@ -232,7 +232,7 @@ protected:
return size;
size = 0;
}
- break;
+ break;
}
}
return size;
diff --git a/library/cpp/http/fetch/httpzreader.h b/library/cpp/http/fetch/httpzreader.h
index 742ae47b77..68eb00853d 100644
--- a/library/cpp/http/fetch/httpzreader.h
+++ b/library/cpp/http/fetch/httpzreader.h
@@ -114,7 +114,7 @@ public:
// there is no data in next_out yet
if (BufSize == Stream.avail_out)
continue;
- [[fallthrough]]; // don't break or return; continue with Z_STREAM_END case
+ [[fallthrough]]; // don't break or return; continue with Z_STREAM_END case
case Z_STREAM_END:
if (Stream.total_out > MaxContSize) {
diff --git a/library/cpp/http/io/stream.cpp b/library/cpp/http/io/stream.cpp
index 8f0b9612e4..6689be684f 100644
--- a/library/cpp/http/io/stream.cpp
+++ b/library/cpp/http/io/stream.cpp
@@ -323,7 +323,7 @@ private:
p.KeepAlive = false;
}
}
- [[fallthrough]];
+ [[fallthrough]];
HEADERCMP(header, "expect") {
auto findContinue = [&](const TStringBuf& s) {
if (strnicmp(s.data(), "100-continue", 13) == 0) {
diff --git a/library/cpp/protobuf/json/proto2json_printer.cpp b/library/cpp/protobuf/json/proto2json_printer.cpp
index 0e6f780643..6123eab0f2 100644
--- a/library/cpp/protobuf/json/proto2json_printer.cpp
+++ b/library/cpp/protobuf/json/proto2json_printer.cpp
@@ -426,7 +426,7 @@ namespace NProtobufJson {
default:
ythrow yexception() << "Unsupported enum mode.";
}
- break;
+ break;
}
case FieldDescriptor::CPPTYPE_STRING:
result = reflection->GetString(proto, &field);
diff --git a/library/cpp/regex/hyperscan/hyperscan.cpp b/library/cpp/regex/hyperscan/hyperscan.cpp
index b29c8f8a0f..ba321f9c29 100644
--- a/library/cpp/regex/hyperscan/hyperscan.cpp
+++ b/library/cpp/regex/hyperscan/hyperscan.cpp
@@ -33,7 +33,7 @@ namespace NHyperscan {
switch (runtime) {
default:
Y_ASSERT(false);
- [[fallthrough]];
+ [[fallthrough]];
case ERuntime::Core2:
case ERuntime::Corei7:
return 0;
@@ -57,7 +57,7 @@ namespace NHyperscan {
switch (runtime) {
default:
Y_ASSERT(false);
- [[fallthrough]];
+ [[fallthrough]];
case ERuntime::Core2:
AllocScratch = core2_hs_alloc_scratch;
Scan = core2_hs_scan;
diff --git a/library/cpp/scheme/scheme.cpp b/library/cpp/scheme/scheme.cpp
index 4052af9089..3efd116d4f 100644
--- a/library/cpp/scheme/scheme.cpp
+++ b/library/cpp/scheme/scheme.cpp
@@ -178,7 +178,7 @@ namespace NSc {
switch (otherCore.ValueType) {
default:
Y_ASSERT(false);
- [[fallthrough]];
+ [[fallthrough]];
case EType::Null:
break;
case EType::Bool:
diff --git a/library/cpp/scheme/scimpl_json_write.cpp b/library/cpp/scheme/scimpl_json_write.cpp
index de57095314..aadd7e6cd5 100644
--- a/library/cpp/scheme/scimpl_json_write.cpp
+++ b/library/cpp/scheme/scimpl_json_write.cpp
@@ -77,7 +77,7 @@ namespace NSc {
switch (core.ValueType) {
default: {
Y_ASSERT(false);
- [[fallthrough]]; /* no break */
+ [[fallthrough]]; /* no break */
}
case EType::Null: {
out << TStringBuf("null");
diff --git a/library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp b/library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp
index fd1b619b79..a03f5aef53 100644
--- a/library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp
+++ b/library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp
@@ -75,7 +75,7 @@ namespace NSc::NUt {
if (!DoParsePos(state, ref)) {
return Nothing();
}
- [[fallthrough]];
+ [[fallthrough]];
case TRef::T_CREATE_FRONT:
case TRef::T_CREATE_BACK:
return ref;
@@ -116,7 +116,7 @@ namespace NSc::NUt {
if (!DoParsePos(state, dst)) {
return Nothing();
}
- [[fallthrough]];
+ [[fallthrough]];
case TDst::T_CREATE_FRONT_LREF:
case TDst::T_CREATE_FRONT_CREF:
case TDst::T_CREATE_FRONT_RREF:
diff --git a/library/cpp/streams/bzip2/bzip2.cpp b/library/cpp/streams/bzip2/bzip2.cpp
index 2288ddcb1f..bccc5c6807 100644
--- a/library/cpp/streams/bzip2/bzip2.cpp
+++ b/library/cpp/streams/bzip2/bzip2.cpp
@@ -43,7 +43,7 @@ public:
case BZ_STREAM_END: {
Clear();
Init();
- [[fallthrough]];
+ [[fallthrough]];
}
case BZ_OK: {
diff --git a/library/cpp/terminate_handler/terminate_handler.cpp b/library/cpp/terminate_handler/terminate_handler.cpp
index 61a4a28947..d7e8fbed95 100644
--- a/library/cpp/terminate_handler/terminate_handler.cpp
+++ b/library/cpp/terminate_handler/terminate_handler.cpp
@@ -16,10 +16,10 @@ namespace {
break;
case 2:
Cerr << "FancyTerminateHandler called recursively" << Endl;
- [[fallthrough]];
+ [[fallthrough]];
default:
abort();
- break;
+ break;
}
if (std::current_exception()) {
diff --git a/library/cpp/testing/unittest/utmain.cpp b/library/cpp/testing/unittest/utmain.cpp
index c99057566e..305bc6b40f 100644
--- a/library/cpp/testing/unittest/utmain.cpp
+++ b/library/cpp/testing/unittest/utmain.cpp
@@ -492,7 +492,7 @@ private:
// test could fail with zero status if it calls exit(0) in the middle.
if (ForkExitedCorrectly)
break;
- [[fallthrough]];
+ [[fallthrough]];
}
case TShellCommand::SHELL_ERROR: {
ythrow yexception() << "Forked test failed";
diff --git a/library/cpp/uri/parse.cpp b/library/cpp/uri/parse.cpp
index 09947a5b94..1db4e008c4 100644
--- a/library/cpp/uri/parse.cpp
+++ b/library/cpp/uri/parse.cpp
@@ -183,7 +183,7 @@ namespace NUri {
break;
case TScheme::SchemeEmpty:
Scheme = TScheme::SchemeUnknown;
- [[fallthrough]];
+ [[fallthrough]];
case TScheme::SchemeUnknown:
wantCareFlags =
TFeature::FeatureSchemeFlexible | TFeature::FeatureNoRelPath;
diff --git a/library/cpp/yson_pull/detail/writer.h b/library/cpp/yson_pull/detail/writer.h
index 5d8e6579ba..b24b994292 100644
--- a/library/cpp/yson_pull/detail/writer.h
+++ b/library/cpp/yson_pull/detail/writer.h
@@ -223,14 +223,14 @@ namespace NYsonPull {
default:
break;
}
- [[fallthrough]];
+ [[fallthrough]];
case state::value:
if (event == EEventType::BeginAttributes) {
push(EEventType::BeginAttributes);
next_state();
return;
}
- [[fallthrough]];
+ [[fallthrough]];
case state::value_noattr:
switch (event) {
case EEventType::Scalar:
diff --git a/util/digest/murmur.cpp b/util/digest/murmur.cpp
index 8b341b51fa..b041d3e5f2 100644
--- a/util/digest/murmur.cpp
+++ b/util/digest/murmur.cpp
@@ -40,16 +40,16 @@ namespace NMurmurPrivate {
switch (iter.Left()) {
case 3:
h ^= data[2] << 16;
- [[fallthrough]];
+ [[fallthrough]];
case 2:
h ^= data[1] << 8;
- [[fallthrough]];
+ [[fallthrough]];
case 1:
h ^= data[0];
h *= m;
- break;
+ break;
};
h ^= h >> 13;
@@ -90,32 +90,32 @@ namespace NMurmurPrivate {
switch (iter.Left()) {
case 7:
h ^= ui64(data2[6]) << 48;
- [[fallthrough]];
+ [[fallthrough]];
case 6:
h ^= ui64(data2[5]) << 40;
- [[fallthrough]];
+ [[fallthrough]];
case 5:
h ^= ui64(data2[4]) << 32;
- [[fallthrough]];
+ [[fallthrough]];
case 4:
h ^= ui64(data2[3]) << 24;
- [[fallthrough]];
+ [[fallthrough]];
case 3:
h ^= ui64(data2[2]) << 16;
- [[fallthrough]];
+ [[fallthrough]];
case 2:
h ^= ui64(data2[1]) << 8;
- [[fallthrough]];
+ [[fallthrough]];
case 1:
h ^= ui64(data2[0]);
h *= m;
- break;
+ break;
}
h ^= h >> r;
diff --git a/util/draft/datetime.cpp b/util/draft/datetime.cpp
index 33b9152432..5cbe7d8847 100644
--- a/util/draft/datetime.cpp
+++ b/util/draft/datetime.cpp
@@ -136,13 +136,13 @@ namespace NDatetime {
return *this;
case F_DAY:
amount *= 24;
- [[fallthrough]];
+ [[fallthrough]];
case F_HOUR:
amount *= 60;
- [[fallthrough]];
+ [[fallthrough]];
case F_MIN:
amount *= 60;
- [[fallthrough]];
+ [[fallthrough]];
case F_SEC: {
return *this = New(AsTimeT() + amount, GMTOff, IsDst);
}
diff --git a/util/stream/zlib.cpp b/util/stream/zlib.cpp
index 38bcf1cc52..60f4e9439f 100644
--- a/util/stream/zlib.cpp
+++ b/util/stream/zlib.cpp
@@ -126,8 +126,8 @@ public:
} else {
return size - Z()->avail_out;
}
-
- [[fallthrough]];
+
+ [[fallthrough]];
}
case Z_OK: {
diff --git a/ydb/library/yql/ast/yql_expr.cpp b/ydb/library/yql/ast/yql_expr.cpp
index 9414eec12e..82f6c5812a 100644
--- a/ydb/library/yql/ast/yql_expr.cpp
+++ b/ydb/library/yql/ast/yql_expr.cpp
@@ -1771,11 +1771,11 @@ namespace {
case TExprNode::Atom:
if (one->GetFlagsToCompare() != two->GetFlagsToCompare())
return false;
- [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
+ [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
case TExprNode::Callable:
if (one->Content() != two->Content())
return false;
- [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
+ [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
default:
break;
case TExprNode::Lambda:
diff --git a/ydb/library/yql/core/common_opt/yql_co_simple1.cpp b/ydb/library/yql/core/common_opt/yql_co_simple1.cpp
index 734ac6d3fe..a32a6c3dab 100644
--- a/ydb/library/yql/core/common_opt/yql_co_simple1.cpp
+++ b/ydb/library/yql/core/common_opt/yql_co_simple1.cpp
@@ -1614,7 +1614,7 @@ TExprNode::TPtr BuildSqlInCollectionEmptyPred(const TCoSqlIn& sqlIn, TExprContex
.Add(0, collection)
.Seal()
.Build();
- [[fallthrough]];
+ [[fallthrough]];
case ETypeAnnotationKind::List:
collectionEmptyPred = BuildCollectionEmptyPred(sqlIn.Pos(), collection, ctx);
break;
diff --git a/ydb/library/yql/core/type_ann/type_ann_core.cpp b/ydb/library/yql/core/type_ann/type_ann_core.cpp
index 5829849f38..5846e6cb10 100644
--- a/ydb/library/yql/core/type_ann/type_ann_core.cpp
+++ b/ydb/library/yql/core/type_ann/type_ann_core.cpp
@@ -1834,7 +1834,7 @@ namespace NTypeAnnImpl {
break;
}
}
- [[fallthrough]];
+ [[fallthrough]];
}
// passthrough with Struct
case ETypeAnnotationKind::Struct:
diff --git a/ydb/library/yql/core/type_ann/type_ann_list.cpp b/ydb/library/yql/core/type_ann/type_ann_list.cpp
index 983e81f5ac..b145cde389 100644
--- a/ydb/library/yql/core/type_ann/type_ann_list.cpp
+++ b/ydb/library/yql/core/type_ann/type_ann_list.cpp
@@ -1086,7 +1086,7 @@ namespace {
resultKind = ETypeAnnotationKind::Flow;
break;
}
- [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
+ [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
default:
ctx.Expr.AddError(TIssue(ctx.Expr.GetPosition(lambda->Pos()), TStringBuilder()
<< "Expected list, stream or optional as FlatMap lambda return type, but got: " << *lambda->GetTypeAnn()));
diff --git a/ydb/library/yql/core/yql_expr_csee.cpp b/ydb/library/yql/core/yql_expr_csee.cpp
index 35a2a8e02d..b0e7525521 100644
--- a/ydb/library/yql/core/yql_expr_csee.cpp
+++ b/ydb/library/yql/core/yql_expr_csee.cpp
@@ -269,7 +269,7 @@ namespace {
if (left.Content().data() != right.Content().data()) {
return false;
}
- [[fallthrough]];
+ [[fallthrough]];
case TExprNode::List:
if (left.ChildrenSize() != right.ChildrenSize()) {
return false;
diff --git a/ydb/library/yql/core/yql_expr_type_annotation.cpp b/ydb/library/yql/core/yql_expr_type_annotation.cpp
index bafcba3592..f2b793af8d 100644
--- a/ydb/library/yql/core/yql_expr_type_annotation.cpp
+++ b/ydb/library/yql/core/yql_expr_type_annotation.cpp
@@ -97,7 +97,7 @@ IGraphTransformer::TStatus TryConvertToImpl(TExprContext& ctx, TExprNode::TPtr&
node = ctx.NewCallable(node->Pos(), "ToStream", {std::move(node)});
return IGraphTransformer::TStatus::Repeat;
}
- break;
+ break;
default: break;
}
}
@@ -1170,8 +1170,8 @@ ECompareOptions CanCompare(const TStructExprType* left, const TStructExprType* r
switch (CanCompare<Equality>(field.second.front(), field.second.back())) {
case ECompareOptions::Null: hasMissed = true; continue;
case ECompareOptions::Uncomparable: return ECompareOptions::Uncomparable;
- case ECompareOptions::Optional: hasMissed = true; [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
- case ECompareOptions::Comparable: hasCommon = true; break;
+ case ECompareOptions::Optional: hasMissed = true; [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
+ case ECompareOptions::Comparable: hasCommon = true; break;
}
}
@@ -1203,7 +1203,7 @@ ECompareOptions CanCompare(const TVariantExprType* left, const TVariantExprType*
switch (CanCompare<Equality>(leftItemType, rightItemType)) {
case ECompareOptions::Null: hasMissed = true; continue;
case ECompareOptions::Uncomparable: return ECompareOptions::Uncomparable;
- case ECompareOptions::Optional: hasMissed = true; break;
+ case ECompareOptions::Optional: hasMissed = true; break;
case ECompareOptions::Comparable: break;
}
}
diff --git a/ydb/library/yql/minikql/dom/peel.cpp b/ydb/library/yql/minikql/dom/peel.cpp
index 6b31fe536c..33f22011dd 100644
--- a/ydb/library/yql/minikql/dom/peel.cpp
+++ b/ydb/library/yql/minikql/dom/peel.cpp
@@ -346,7 +346,7 @@ TUnboxedValuePod TryPeelDom(const ITypeInfoHelper::TPtr typeHelper, const TType*
case ETypeKind::Resource:
if (const auto inspector = TResourceTypeInspector(*typeHelper, shape); TStringBuf(inspector.GetTag()) == NodeResourceName)
return value;
- [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
+ [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
default:
UdfTerminate((::TStringBuilder() << "Unsupported data kind: " << kind).c_str());
}
diff --git a/ydb/library/yql/sql/v1/sql.cpp b/ydb/library/yql/sql/v1/sql.cpp
index 0bd9f09579..ab5a864788 100644
--- a/ydb/library/yql/sql/v1/sql.cpp
+++ b/ydb/library/yql/sql/v1/sql.cpp
@@ -2574,7 +2574,7 @@ TNodePtr TSqlTranslation::TypeNode(const TRule_type_name_composite& node) {
items.push_back(typeNode);
}
}
- [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
+ [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
}
case TRule_type_name_tuple::TBlock2::kAlt2:
break;
@@ -2616,7 +2616,7 @@ TNodePtr TSqlTranslation::TypeNode(const TRule_type_name_composite& node) {
items.push_back(makeQuote(new TAstListNodeImpl(pos, { tag, typeNode })));
}
}
- [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
+ [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
}
case TRule_type_name_struct::TBlock2::kAlt2:
break;
diff --git a/ydb/library/yql/udfs/common/yson2/yson2_udf.cpp b/ydb/library/yql/udfs/common/yson2/yson2_udf.cpp
index b1e57eb911..1278ec565c 100644
--- a/ydb/library/yql/udfs/common/yson2/yson2_udf.cpp
+++ b/ydb/library/yql/udfs/common/yson2/yson2_udf.cpp
@@ -844,7 +844,7 @@ protected:
case ETypeKind::Resource:
if (const auto inspector = TResourceTypeInspector(*typeHelper, shape); TStringBuf(inspector.GetTag()) == NodeResourceName)
return nullptr;
- [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
+ [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME
default:
return shape;
}
diff --git a/ydb/public/sdk/cpp/client/ydb_table/table.cpp b/ydb/public/sdk/cpp/client/ydb_table/table.cpp
index 4f25872d06..610fec3884 100644
--- a/ydb/public/sdk/cpp/client/ydb_table/table.cpp
+++ b/ydb/public/sdk/cpp/client/ydb_table/table.cpp
@@ -4237,7 +4237,7 @@ std::function<void(TSession::TImpl*)> TSession::TImpl::GetSmartDeleter(std::shar
if (!client->ReturnSession(sessionImpl)) {
client->DeleteSession(sessionImpl);
}
- break;
+ break;
}
default:
break;