| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
commit_hash:cc9d19171eb062c10e4bd4f29c236ae2578b886a
|
| |
|
|
| |
commit_hash:f7485dac5115e73f75a5edccb3c65c0b657dd8e5
|
| |
|
|
| |
commit_hash:41791bb9a63f1993010fb68562e9a5607927307d
|
| |
|
|
| |
commit_hash:183e3a952a021c4701c20d6677800f245239d822
|
| |
|
|
| |
commit_hash:c180c2db4897962cb70063ffdc2ddcd21e5e3418
|
| |
|
|
| |
commit_hash:7c1445375e838a9327006528cb455c9899e9b32d
|
| |
|
|
| |
commit_hash:3f0111b7873ff1a897b8cd8dbf478f3f906dc6a6
|
| |
|
|
|
| |
https://clang.llvm.org/extra/clang-tidy/checks/readability/avoid-const-params-in-decls.html
commit_hash:17e1ec5c3849a38bcb76cd4927e66979bee6c2ec
|
| |
|
|
|
| |
https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-designated-initializers.html
commit_hash:d73eb463c7bec2bda4c362aab10af49979a7ddd3
|
| |
|
|
|
| |
https://clang.llvm.org/extra/clang-tidy/checks/modernize/raw-string-literal.html
commit_hash:80a511a46b35539fa1f834d4fb5de452ccfbe0ac
|
| |
|
|
| |
commit_hash:362a2d7f5bad4151c0890ab29f0804471bd1bab4
|
| |
|
|
| |
commit_hash:4939dfad654f18bb31e40711ee0c39063889f17b
|
| |
|
|
| |
commit_hash:da491ee93c4f4d3c885c7908a22b4d5d66c80388
|
| |
|
|
| |
commit_hash:2c0e0389bf5eca0c8334d55143674a8acf94a88d
|
| |
|
|
| |
commit_hash:cb1ca76810602921536a9b184f4386955778a3dc
|
| |
|
|
|
| |
- https://clang.llvm.org/extra/clang-tidy/checks/misc/use-anonymous-namespace.html
commit_hash:746be9b9db256111b2fb6ab4d89844746deebcda
|
| |
|
|
|
|
| |
- 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
|
| |
|
|
| |
commit_hash:33094544f4203ec8211625ecb133f7031a52e959
|
| |
|
|
| |
commit_hash:4d77ad10fd4db303459ec4e45e139967c7fc8196
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
commit_hash:fe3a1944fdd047a69b90fdbb53393cecbbcf3175
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
commit_hash:2fc2878449f90c948e0cd75a3c1d59f07d660620
|
| |
|
|
| |
commit_hash:a6b640bc576263b62884a0b4187ba79c893e13d9
|
| |
|
|
|
| |
init
commit_hash:2a30a1b920f341e1f9250df382dd951604a0894f
|
| |
|
|
| |
commit_hash:618c69f7a3090bbeb975dea6d222c8bc7f41314d
|
| |
|
|
|
| |
init
commit_hash:f9684778bf1ea956965f2360b80b91edb7d4ffbe
|
| |
|
|
| |
commit_hash:eba9127d442dfdfe410219202e8eee1f41da3cd9
|
| |
|
|
| |
commit_hash:a1a74a19c885d82a56a4ef72c14ef3b71aaff2cc
|
| |
|
|
| |
commit_hash:1a11133ec66e71b6c798178453a5ab43cdc6761c
|
| |
|
|
| |
commit_hash:4b0cad6620396d4b5422b264f4aa162104d45e8d
|
| |
|
|
| |
commit_hash:0897b988c8ca7235b4f13624177866ac14a46fdd
|
| |
|
|
| |
commit_hash:631fd9ed259a7c95a618e1265f61df28a87ce922
|
| |
|
|
| |
commit_hash:b43c96b868cd36d636192fd2c6024d9f0d2fb6f8
|
| |
|
|
| |
commit_hash:6e3f5fac6a8598586987b52d749644d1ce1fccbe
|
| |
|
|
| |
commit_hash:acdbcb5ab09c7f6e8d5bf8a01ff1954c04d7a80f
|
| |
|
|
| |
commit_hash:e2da3ad430fabaa84a74178b1f2103b09ac69ae7
|
| |
|
|
| |
commit_hash:804e5d328ce4c658ecff2e5a0f259bce717f84f8
|
| |
|
|
| |
commit_hash:f3acde65f4eb25503f414d5262f52b496123bd96
|
| |
|
|
| |
commit_hash:a9a86ead632b0451a427621ea384bd732d3653a3
|
| |
|
|
| |
commit_hash:50996f174ea1b659bc41e9f4e9f27328060af2ca
|
|
|
Except the following directories:
* clickhouse/client
* datetime
* knn
* roaring
commit_hash:c7da95636144d28db109d6b17ddc762e9bacb59f
|