-
I find a false positive with clang-tidy's readability-non-const-parameter, if the access to the function parameter is hidden behind a template.
To reproduce:
```c++
#include
constexpr size_t…
-
| | |
|--------------------|----|
| Bugzilla Link | [PR27388](https://bugs.llvm.org/show_bug.cgi?id=27388) |
| Status | NEW |
| Importance | P normal |
|…
-
There are a few interesting linters, STAs that we could add to the CI flow to improve checks:
Flawfinder
https://dwheeler.com/flawfinder/
splint
https://splint.org/
scan-build - exists as a…
-
Also enable Clang-Format in the lint stage. As the lint stage is in the primary CI, all future PRs will be subjected to the Clang-Tidy and Clang-Format checks. The CI mirror branches will only be crea…
-
Section 3.3 of the specification states "No non-source-code files will should be placed or generated in any subdirectories of a source directory." however this conflicts with the requirements of some …
-
If a patch touches lots of files the action can actually take quite a while to complete, we are sometimes seeing times upward of 40 minutes. An option to parallelize across input files would therefore…
-
:eyes: [I reported some programming mistakes before](https://bugzilla.opensuse.org/show_bug.cgi?id=910926 "Reserved identifier violations in source files").
:thought_balloon: I hope that development …
-
.clang-tidy:
```
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: 'lower_case'
```
Before:
```
template
struct _enum_to_string {
};
template
struct _enum_to_st…
-
We periodically run static analysis manually, it would be beneficial to have it integrated with our build system running through CI, with possibly email notification on master builds.
Some options:…
-
With clang-tidy 14.0.5, compiling this test program produces a warning for shift of 0:
```cpp
#include
static constexpr uint32_t get_shifted(uint32_t v)
{
return v