-
Minimal reproduction example:
```
#include
std::function combine(const std::function& lhs, const std::function& rhs)
{
auto thisTemporaryCausesWarning = [lhs, rhs] (){};
return { std::move(…
-
`clang-tidy` version:
```bash
$ clang-tidy --version
LLVM (http://llvm.org/):
LLVM version 18.1.1
Optimized build.
```
There is the following .clang-tidy configuration file:
```yaml
---…
GTruf updated
2 months ago
-
# Problem
We have two clang-tidy workflows that use a deprecated way to access AWS, the (now-deleted) AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY secrets:
- https://github.com/pytorch/test-infra/b…
-
Instead of running clang-tidy and cppcheck across all CI targets, we could put these only in a separate CI target. Running across all targets exposes us to bugs in older versions, e.g., #2477, #2163,…
gaul updated
3 months ago
-
Enable clang-tidy for clean code.
- [x] Fix clang-tidy warnings (There's a lot of them)
- [ ] Add clang-tidy to CI
-
it has been nothing but problematic, worth looking into something like https://github.com/cpp-linter/cpp-linter-action
-
I am trying to use this build extension, but I am getting the following error:
```
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
baz…
-
This is heavily reduced from real code:
```c++
#include
template
struct S { template >> S(U); };
S s(std::move(1));
```
Running `clang-tidy-19 --checks=modernize-type-traits test.cpp` produce…
-
`std::bit_cast` is often presented as the correct alternative to type punning in C++. However, we see people use it as a drop-in replacement to `reinterpret_cast` , which only obfuscates the code and …
-
Currently we use clang-tidy-7 which relies on python 2. Since we want to drop python 2 we should upgrade clang-tidy to a newer version