summaryrefslogtreecommitdiffstats
path: root/yql/essentials/utils
Commit message (Collapse)AuthorAgeFilesLines
* Intermediate changesrobot-piglet2026-06-102-1/+57
| | | | commit_hash:ba99cebef5933b5e266855e6db76537611c155fa
* YQL-21018: Implement builder and readers for block variantatarasov52026-06-011-2/+4
| | | | commit_hash:6514925c5290f805d279e2db85468c53c3db8f5d
* YQL-20095: Apply modernize-use-nodiscard at utilsvitya-smirnov2026-05-2211-33/+33
| | | | commit_hash:6b07287841e35a15b2e3b79f2ee171d712fc3db5
* YQL-20095: Enable readability-static-definition-in-anonymous-namespacevitya-smirnov2026-05-152-1/+2
| | | | commit_hash:f7485dac5115e73f75a5edccb3c65c0b657dd8e5
* YQL-21018: Prepare test utils for block variant supportatarasov52026-05-135-0/+492
| | | | commit_hash:d08046f19590c93e827909f0bb9e28cfa829ffb7
* YQL-20095: Enable readability-simplify-boolean-exprvitya-smirnov2026-05-071-5/+1
| | | | commit_hash:b3d7609795f9aeaaafe9cb65dbb2c6460582a4ec
* YQL-20095: Enable readability-uppercase-literal-suffixvitya-smirnov2026-05-072-9/+9
| | | | commit_hash:41791bb9a63f1993010fb68562e9a5607927307d
* YQL-20095: Enable readability-redundant-declarationvitya-smirnov2026-05-061-0/+1
| | | | commit_hash:612218f06b374c861f13d507fff7197436c9731f
* Intermediate changesrobot-piglet2026-05-061-1/+1
| | | | commit_hash:06d1d73dcccba44bd53eeadc81279cf06119a3fc
* YQL-20095: Enable readability-inconsistent-declaration-parameter-namevitya-smirnov2026-04-284-13/+13
| | | | commit_hash:9589937209af8e742c0c6401bd1c232f073856bf
* YQL-20095: Enable readability-isolate-declarationvitya-smirnov2026-04-133-18/+74
| | | | commit_hash:c180c2db4897962cb70063ffdc2ddcd21e5e3418
* YQL-20095: Enable modernize-use-starts-ends-withvitya-smirnov2026-04-091-2/+2
| | | | commit_hash:22bd519b464916c6de877000d7442345b86110a8
* YQL-20095: Enable readability-container-size-emptyvitya-smirnov2026-04-072-2/+2
| | | | commit_hash:464a95fd6de1a395f8ffe20092e837df995e623c
* YQL-21112: Add memory and time stats for Lineagemaxkovalev2026-03-312-3/+18
| | | | commit_hash:2b6cb5cab108d776184b553f675bf1d31c5b4660
* YQL-20095: Enable readability-avoid-const-params-in-declsvitya-smirnov2026-03-311-1/+1
| | | | | https://clang.llvm.org/extra/clang-tidy/checks/readability/avoid-const-params-in-decls.html commit_hash:17e1ec5c3849a38bcb76cd4927e66979bee6c2ec
* YQL-20095: Enable modernize-use-designated-initializersvitya-smirnov2026-03-178-23/+25
| | | | | https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-designated-initializers.html commit_hash:d73eb463c7bec2bda4c362aab10af49979a7ddd3
* Runtime dispatch boolsatarasov52026-03-171-0/+97
| | | | | Introduce runtime dispatcher macros commit_hash:69cd6afc98d510a3f8eb216e52b6f9044245ee98
* Fix deadlock at TAsyncQueue destroyudovichenko-r2026-03-162-18/+19
| | | | commit_hash:e5c4c456980e980653cd26029a350b52b1e49514
* YQL-20095: Enable modernize-raw-string-literalvitya-smirnov2026-03-061-5/+5
| | | | | https://clang.llvm.org/extra/clang-tidy/checks/modernize/raw-string-literal.html commit_hash:80a511a46b35539fa1f834d4fb5de452ccfbe0ac
* YQL-20095: Apply lost Clang Tidy fixesvitya-smirnov2026-03-051-9/+10
| | | | | | | I do not known why, but these Clang Tidy fixes was lost. Maybe this is because of conditional preprocessing. Maybe Clang Tidy is ran only on changed sources. commit_hash:718e5487699b21b643ed90729ce8347c84cbd6ee
* YQL-20095: Enable modernize-use-nullptrvitya-smirnov2026-03-041-2/+2
| | | | commit_hash:a504ad9d540aa714c550320e0ce20f9eb8bd17cf
* YQL-20095: Enable modernize-use-usingvitya-smirnov2026-03-041-1/+1
| | | | commit_hash:ea1f0987ec40e3e683c35bffb64b7f5ab35e73ed
* YQL-20095: Enable modernize-pass-by-valuevitya-smirnov2026-03-022-3/+5
| | | | commit_hash:4939dfad654f18bb31e40711ee0c39063889f17b
* YQL-20095: Enable modernize-loop-convertvitya-smirnov2026-02-271-4/+3
| | | | | | | | - https://clang.llvm.org/extra/clang-tidy/checks/modernize/loop-convert.html Semi-automatic translation was performed. Manually rewritten some types and names. commit_hash:0ad921f0d512dd4a8ccc8af557197ce6a02582e1
* Refactor codegen for function callsimunkin2026-02-201-0/+42
| | | | commit_hash:72b10ed4677b5440bf8308bec7a0c1b21ab185c4
* YQL-20095: Enable bugprone-exception-escapeatarasov52026-02-203-0/+63
| | | | commit_hash:a511b90dbd2eadcf32cc5d75130da6c9d4efaa52
* Fix problem with deploy in loggercdzyura1712026-02-191-0/+26
| | | | | | | Раньше в логах деплоя все время проставлялся уровень DEBUG, так как не передавался `levelStr` См <https://nda.ya.ru/t/za4DA-hJ7Uoeqx> commit_hash:4e8601c59cd6aea6a52dfe46e12f1a34675253d1
* YQL-20095: Enable modernize-avoid-c-arraysvitya-smirnov2026-02-1912-37/+44
| | | | commit_hash:da491ee93c4f4d3c885c7908a22b4d5d66c80388
* YQL-20095: Enable modernize-deprecated-headersvitya-smirnov2026-02-1810-17/+18
| | | | commit_hash:83ce051ac7e1aa8ea634b2bc3812778187ccbcce
* YQL-20095: Enable modernize-concat-nested-namespacesvitya-smirnov2026-02-1719-80/+38
| | | | commit_hash:2c0e0389bf5eca0c8334d55143674a8acf94a88d
* removed yql codeline exceptiongrigoriypisar2026-02-113-73/+0
| | | | | Fixed YQL\_ENSURE\_CODELINE namespace usage, to enable use of it outside NYql:: namespace commit_hash:bedd536ffd8703692b079024d85bf60631a3b26c
* Improve error reportinganeporada2026-02-091-0/+1
| | | | commit_hash:77a9f74bc291b2006c9af89225768b096c257100
* YQL-20095: Enable misc-use-anonymous-namespacevitya-smirnov2026-02-053-6/+10
| | | | | - https://clang.llvm.org/extra/clang-tidy/checks/misc/use-anonymous-namespace.html commit_hash:746be9b9db256111b2fb6ab4d89844746deebcda
* YQL-20861: introduce TCheckedDerefPtrlukashevich842026-02-054-0/+293
| | | | | Relates: YQL-20861 commit_hash:2b6703c343bcd728622c1e0d9c3f8f1f21596128
* YQL-20095: Enable misc-throw-by-value-catch-by-referencevitya-smirnov2026-02-021-7/+5
| | | | | - https://clang.llvm.org/extra/clang-tidy/checks/misc/throw-by-value-catch-by-reference.html commit_hash:c51416755f7172e0ea4691f7d541b38a6a9a2b48
* YQL-20095: Enable some hicpp checksvitya-smirnov2026-01-301-1/+2
| | | | | | - https://clang.llvm.org/extra/clang-tidy/checks/hicpp/exception-baseclass.html - https://clang.llvm.org/extra/clang-tidy/checks/hicpp/multiway-paths-covered.html commit_hash:d1e41cca7d2fd5612d559cf1f3c9f8253e8eaf0e
* Intermediate changesrobot-piglet2026-01-296-0/+208
| | | | commit_hash:3fc8faa25000417fd21875d20df0ff007764c7ea
* YQL-20095: Enable google-explicit-constructorvitya-smirnov2026-01-236-10/+14
| | | | commit_hash:4d77ad10fd4db303459ec4e45e139967c7fc8196
* Provide better static assertsatarasov52026-01-211-0/+14
| | | | commit_hash:9f3913b67b411e3abea57f47cdcb5e051500ea5c
* YQL-20095: Enable modernize-use-overridevitya-smirnov2026-01-136-8/+8
| | | | | | | | | | | | | | | | | | | The check `modernize-use-override` is useful as it: 1. Removes redundant `override` when it is used with a `final`. 2. Removes redundant `virtual` or replace it with a `override`. So it is more clean for a reader, that overriding happens. It is enabled not out of order, as it is just an alias to `cppcoreguidelines-explicit-virtual-functions`. I also decided to switch a strategy of enabling checks. Now I will enable only a single rule with a single PR and prefer rules with a non-breaking autofix. In the new year with new linter checks! 🎄 commit_hash:e6e233baa90b31e5f65e11837546690c47f71ab5
* Forbid use of array types in YQL_ENSURE & YQL_ENSURE_CODELINE conditions #30109swarmer2025-12-292-10/+12
| | | | | Add a compile-time check to catch erroneous usage in the macro, after fixing inverted conditions involving string literals. commit_hash:c6e629d041898f7381f33c9b37f9ae01b13b72b2
* YQL-20766: Disable backtrace unwinding in yqlworkermrlolthe1st2025-12-112-2/+8
| | | | commit_hash:352d6545e11b7b78829453dd8dcb50fffa3d7f87
* Service discovery in yqlworkerudovichenko-r2025-11-252-6/+33
| | | | commit_hash:dcc027c01e2d12a762caca323d96caf7efc67783
* YQL-20086: Enable arcadia and bugprone checksvitya-smirnov2025-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enables more Clang Tidy checks for the `yql/essentials` project. I chosen the policy to enable all checks by default because - It will keep us updated when new checks are become available in the DevTools whitelist. - You never know what check will be useful, even if it was not fired now. Why some checks from the https://nda.ya.ru/t/8QnKCVIO7NWhBD were disabled? - `arcadia-taxi-` checks are `userver`-specific. - `bugprone-bool-pointer-implicit-conversion` is not applicable to our codebase as we heavily used to it. - `bugprone-branch-clone` triggered on a code that is not obviously rewrittable and not so poor. - `bugprone-dynamic-static-initializers` are heavily used in our codebase especially in the translator. Static variables with dynamic initialization are so common, so refactor them is too hard and requires huge code rewritting to deliver some hardcoded configuration values via ctors, having them in a one place. - `bugprone-exception-escape` is useful check for programs where the care of exception safety is taken, but we a lot of places where exception can be thrown from the destructor or move-operator. I left a TODO in the `.clang-tidy` to fix this. Maybe will create a ticket. - `bugprone-lambda-function-name` appears when we throw an exception from the lambda. I think, that this is okay and do not see any options to fix it. - `bugprone-macro-parentheses` had false positives at `YQL_ENSURE` second argument and also broke some code, by surrounding `A` at `template <class A>`. - `bugprone-misplaced-widening-cast`, `bugprone-narrowing-conversions`, `bugprone-signed-char-misuse` are disabled because checking arithmetics correctness is hard and non-trivial. I am not sure that it worth spending a lot of time on it as everything seems to work well :o) - `bugprone-reserved-identifier` was triggered on some harmless identifier in computation, so I decided just to turn this off, rather than argue with someone. - `bugprone-suspicious-enum-usage` happend on Arcadia HTTP client usage. Do not think that it is worth to argue with Arcadia HTTP client code owners. - `bugprone-suspicious-memory-comparison` happened in some compuration test. I just decided to trust low-level code authors. - `bugprone-too-small-loop-variable` seems not really a problem and lets you safe some symbols on `static_cast`s. - `bugprone-sizeof-expression` had so many false positives at computation. - `bugprone-unchecked-optional-access` a good check, but optionals are dereferenced everywhere in our codebase. Of course, in a perfect world near each of such dereference should be an assertion with comment why it is a valid action, because when static analysis can not infer that the value is non-null, then it is not an obvious thing for a human also. But we a too far from such code quality now. - `bugprone-undefined-memory-manipulation` is interesting. It argued on some `memcpy` at computation. There was some `UnboxedValues` array and this objects have some logic of memory marking and releasing under an `NDEBUG`. I added a TODO to check this. Maybe will create a ticket. - `bugprone-unhandled-self-assignment` has false positives on non-owning objects such as iterators. commit_hash:c0c0de6b157bf095eb681bdea55ada47845de814
* YQL-20086: Add yql/essentials Clang Tidy configvitya-smirnov2025-11-2112-48/+59
| | | | | | | | | This patch introduces an extension configuration for the Clang Tidy. It is merged with Arcadia Clang Tidy configuration. To begin with, more checks for identifiers naming are added. Documentation: https://nda.ya.ru/t/AhbDZbiF7MKe3M. commit_hash:3481da4c8df0a4d23a991d4a660ae050d2dc5d33
* YQL-20072: Support mrrun + yqlworkermrlolthe1st2025-10-295-0/+41
| | | | commit_hash:a70465d9a63f8a86c6990ae04e9c615827498fe0
* YQL-20552 better memory limiting for ConvertToAstvvvv2025-10-231-0/+52
| | | | | init commit_hash:38b84ac2154cd0424836722a9ff8d8246ddccce7
* Intermediate changesrobot-piglet2025-10-204-2/+34
| | | | commit_hash:bf6ef092a6b0e517485efa54cfebca15283d6de2
* YQL-20508: Fix unaligned readatarasov52025-10-161-0/+12
| | | | commit_hash:1624694e39e7f77993098849f92540b905b7bb59
* Complete protection of logging setup via mutexesngc2242025-10-151-2/+8
| | | | commit_hash:4006eec02296551bc0aaa60ab4d84810af46a1c2