-
I'd like to run clang-tidy on my C code. I can add a clang arg to generate compilation command JSON, but it ends up referring to temporary include paths:
```
{ "directory": "/Users/cworley/Code/pr…
-
Hi, it would be nice to add a check that warn if it finds a relative include. This is to allow people to easily conform to the canonical project structure - https://www.open-std.org/jtc1/sc22/wg21/doc…
-
We are seeing some large performance regressions in Clang-Tidy when comparing C++17 and C++20. Some translation units go from 8 seconds to 6 minutes.
Profiling is pointing to `clang-tidy.exe`!`clan…
-
Continuing an issue from here: https://github.com/kuzudb/kuzu/pull/4166#pullrequestreview-2276856794. In short, I think it would be helpful to standardize how we refer to namespaces, and maybe also lo…
-
1. проведите анализ при помощи статического анализатора кода, например
clang-tidy для наборов правил cppcoreguidelines, google, hicpp (https://clang.llvm.org/extra/clang-tidy)
2. прикрепите результа…
-
Hi,
Using clang-tidy as:
```shell
clang-tidy main.cpp -checks=-*,clang-analyzer-unix* --list-checks
```
Prints:
```
Enabled checks:
clang-analyzer-core.CallAndMessage
clang-analy…
-
clang-tidy 15.0.7 produces a warning in the following code on the commented line.
I believe it is a false positive because it is being reassigned.
```cpp
#include
#include
struct expressio…
-
```console
$ cat main.cpp
int main() {
int x{3};
if (x == 3) {
return 42;
} else {
return 0;
}
}
$ cat .clang-tidy
Checks: 'readability-else-after-return'
$ clang-tidy …
-
In the Diagnostics.cpp file of the clangd module in LLVM, there is a function called getDiagnosticDocURI that retrieves the URL address of a rule check. The code is as follows:
` case Diag::ClangTidy…
-
### Describe the issue
In layout.h we have
```
if defined(__GXX_RTTI)
#define ABSL_INTERNAL_HAS_CXA_DEMANGLE
#endif
#ifdef ABSL_INTERNAL_HAS_CXA_DEMANGLE
#include
#endif
```
which then fa…