-
When we run clang-tidy on our source code, it finds hundreds of issues related to usages of gtest. We currently have to disable a few clang-tidy checks because of this. In the longer run, we want to e…
-
## Enhancement
There are still a lot of clang-tidy error in our code. In order to improve code quality, we need to fix them.
A script to detect clang-tidy error in local machine using `clang-tidy`…
-
Any chance to add a .clang-tidy file that also adheres to the BARR-C:2018 standard?
-
In addition to the Clang-Tidy and compiler warnings, we also use other static analysis tools. One of them points out that with C++17 there is actually no longer any reason to use `std::lock_guard`, si…
-
### Environment
- OS and Version: Windows 11 23H2
- VS Code Version: 1.92.2
- C/C++ Extension Version: v1.21.6
- If using SSH remote, specify OS of remote machine: wsl (Ubuntu 20.04)
### Bu…
-
Building with GitHub Actions and using preinstalled clang-tidy:
```
LLVM (http://llvm.org/):
LLVM version 18.1.6
Optimized build.
```
While processing this file: https://github.com/transmi…
-
~~~c++
void f(short& a, short b, short c) {
a = b + c;
}
~~~
~~~
:2:9: warning: narrowing conversion from 'int' to signed type 'short' is implementation-defined [bugprone-narrowing-conversio…
-
Hello,
I noticed the repository lacks .clang-format and .clang-tidy configuration files, crucial for maintaining consistent code style and quality.
I suggest:
1. Adding a .clang-format file a…
-
https://godbolt.org/z/b537zPjo9
```cpp
namespace std {
template
struct disjunction : a {};
struct b {
static int value;
};
template
using c = disjunction;
auto c_v = c::value;
…
vient updated
1 month ago
-
I have added a static analysis using clang-tidy into our github CI/CD test in the PR #825. The current version of clang-tidy is 15 and the check list can be found [here](https://releases.llvm.org/15.0…