-
Suppose you introduce a variable in the scope of the `if` statement like so:
```
size_t index{};
if( const auto pos{ std::find( geom->materialIds.begin(), geom->materialIds.end(), proxyMa…
-
we should enforce naming conventions in clang-tidy. A lot of our methods currently start with an uppercase letter (because @cyclops1982 also types a lot of Go), and others do not. I prefer lowercase t…
-
# Summary
We are trying to use `tbb::parallel_for_each` within a project compiled with gcc 9.4.0 within an Ubuntu 20.04 environment. We have been using C++17 and are moving to C++20. tbb was compil…
-
Hey! I read in your documentation that installing llvm with brew on Mac should also install clang-format and clang-tidy. This does not work on my machine however. Both clang-format and clang-tidy give…
-
I have not yet really used clang-tidy myself and I do not know what checks are widespread, so I would like to hear opinions about what checks should be included by default in the generated projects an…
-
Newest update: The Rollout has been put on hold. Nonetheless we should discuss this
In our CI we are using `clang-format` on `ubuntu-latest`. That ubuntu version was pointing to `Ubuntu 22.04`, whi…
-
Using these settings (clang-tidy 15.06)
```yml
- { key: readability-identifier-naming.ConstexprFunctionCase, value: camelBack }
- { key: readability-identifier-naming.ConstexprMethodCase, …
-
The misc-include-header check for clang tidy is not properly identifying which header provides a particular function.
I believe this likely due to the function having an overload defined in differe…
-
Currently we do not have or use a coding style. For instance:
- Some files are indented by tabs, other by spaces.
- We do not fully comply with pep8 (e.g. ~~camel casing in Python~~).
- Cpp file…
-
C++ is unsafe, meaning that any code written in it may cause undefined behavior at runtime. One possible source of undefined behavior is out-of-range memory access.
While some limited compiler warn…