-
1. проведите анализ при помощи статического анализатора кода, например
clang-tidy для наборов правил cppcoreguidelines, google, hicpp (https://clang.llvm.org/extra/clang-tidy)
2. прикрепите результа…
-
The if statement here: https://github.com/notskm/vscode-clang-tidy/blob/dc19ba91a705ebd75c0b3437abee85912537d173/src/tidy.ts#L239
Is causing diagnostic messages to be ignored due to the fact that t…
-
$ cat qq.cpp
```
#include
bool my_contains_1(std::map const& m, int key)
{
return m.find(key) != m.end();
}
bool my_contains_2(std::map const& m, int key)
{
return m.count(key) > 0; …
-
clang-tidy: 15.0.5
rule: cppcoreguidelines-pro-type-member-init
language: C++ 17
theme: Do not warn smart point by cppcoreguidelines-pro-type-member-init
smart point has be initialized …
-
| | |
|--------------------|----|
| Bugzilla Link | [PR33167](https://bugs.llvm.org/show_bug.cgi?id=33167) |
| Status | NEW |
| Importance | P normal |
|…
-
| | |
| --- | --- |
| Bugzilla Link | [50945](https://llvm.org/bz50945) |
| Version | unspecified |
| OS | Linux |
## Extended Description
Following snippet reproduces the bug
tuple_storage varia…
-
The README says that coding style changes can be done automatically by running `ninja -C build clang-format`. But when I try I get `ninja: error: unknown target 'clang-format'`.
```
# meson setup …
-
```shell
# ...
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
3 warnings treated as errors
egrep '\b(warnin…
-
@sylvestre reporting as suggested here: https://github.com/llvm/llvm-project/issues/92359
I am trying to build libc++ on WSL Ubuntu 24.04.
LLVM19 was installed originally via llvm.sh. I updated toda…
-
Get rid of some of the old-style Cmake macros(ie. ament_export_include_directories, ament_export_libraries, ament_target_dependencies, etc.)
Smth like this:
```
cmake_minimum_required(VERSION 3.8…