-
**Steps to reproduce**
1. Remove any .clang-tidy files from the project
2. In the Clang Power Options Settings - Tidy, set the option `Use checks from = PredefinedChecks`, enable just one or two che…
-
Hello, ffulin!
We would like to share our experience of using clang-tidy with fastbuild.
I have created a [fork](https://github.com/poljak181/fastbuild/tree/clang_tidy_support).
Alternatively, you …
-
Similar to `readability-implicit-bool-conversion`:
~~~c++
enum E { E0, E1 };
void f(E e, bool b) {
if (e > 0) {} // warn here
if (b > 0) {}
}
~~~
https://godbolt.org/z/cfjofjfav
-
clang-tidy
bug is introduced in
364d951b347ab932d9a78cb6846d1288925cf32c
before 364d951b347ab932d9a78cb6846d1288925cf32c was introduced the file processed was only the one in compilation data…
-
A False positive in clang-tidy for below sample program.
**sample.c**
```
#include
#include
#include
double (*cosine)(double) = NULL;
extern void test (void);
int
main(int argc, ch…
-
When [Adding clang in generated SDK toolchain](https://github.com/kraj/meta-clang?tab=readme-ov-file#adding-clang-in-generated-sdk-toolchain) following the README guide, in the x86_64 sysroot only `li…
-
Probably the same: (#50510)[code extracted from Boost version 1.76, header "asio.hpp" stack dump #50510]
llvm-version: 14.0.0-rc1
**How to reproduce:**
Parse a file with boost/asio.hpp included a…
Febbe updated
1 month ago
-
Currently there are places (mostly in tests) with code like:
```cpp
auto ptr = dynamic_cast(mockFoo);
EXPECT_EQ(ptr->bar(), expected_value);
```
and clang-tidy is fine with it.
We should force c…
-
| | |
| --- | --- |
| Bugzilla Link | [33167](https://llvm.org/bz33167) |
| Version | 3.9 |
| OS | Linux |
| Attachments | [minimal working example for the bug](https://user-images.githubusercontent…
-
Hello,
We're going to start working on supporting `clang-tidy` for distribution as this will greatly increase the speed of our static analysis.
Since FASTBuild already supports msvc's, I figured y…