Commit Graph

22 Commits

Author SHA1 Message Date
akallabeth 6fb3120c0b
[clang-tidy] disable modernize-avoid-c-arrays
same as with similar hicpp and cppcoreguidelines check disable for our
project
2024-09-17 16:13:33 +02:00
akallabeth 9278a0adb8
[clang-tidy] fix typo in deactivated check 2024-09-17 12:58:13 +02:00
akallabeth 5281b7a320
[clang-tidy] disable cppcoreguidelines-pro-bounds-pointer-arithmetic
the check is not really helpful as all it points out is use of argc/argv
or some handling of C API stuff
2024-09-17 11:47:29 +02:00
akallabeth a3b658f677
[clang-tidy] deactivate some C++ checks not fitting
* cppcoreguidelines-avoid-c-arrays: most of our code is in C, so the C++
  components must use these to call the library functions
* modernize-pass-by-value: not compatible with the lowest supported C++
  standard of the project
2024-09-17 10:46:21 +02:00
akallabeth 01c6447963
[clang-tidy] disable clang-analyzer-optin.performance.Padding
this is not a bug but a performance suggestion test. We don´t want these
mixed in with actual issues
2024-09-14 08:24:48 +02:00
akallabeth 6f756fd1be
[clang-tidy] disable readability-suspicious-call-argument
we only get false positives from this check, so deemed useless for our
use case
2024-09-12 09:08:56 +02:00
akallabeth 0f00e37884
[clang-tidy] disable hicpp-no-assembler
we need assembler code for some critical spots, so this check is useless
for our use case.
2024-09-11 23:42:01 +02:00
akallabeth 21d0088b95
[clang-tidy] disable performance-avoid-endl
this warning is not required in our case as we do not have code that
requires high performance utilizing std::endl (output to std::cout or
std::cerr)
2024-09-10 14:43:17 +02:00
akallabeth b7553d5f41
[clang-tidy] disable cppcoreguidelines-no-malloc,hicpp-no-malloc
The project is mostly C so the C++ components are expected to wrap the C
allocation. This check does only produce false positives in our use
case.
2024-09-10 14:43:14 +02:00
akallabeth 97a9f3238f
[clang-tidy] disable cppcoreguidelines-interfaces-global-init
this guideline is for C++ code. The same issue does not apply for C code
so these warnings are just noise outside of our C++ subprojects.
2024-09-06 09:22:28 +02:00
akallabeth ec26c8c168
[clang-tidy] disable bugprone-macro-parentheses
this check has too many false positives (when the macro arguments are
types for example) so disable this.
2024-09-05 08:45:02 +02:00
akallabeth b9202bd0b1 [clang-tidy] disable cert-dcl50-cpp
we do want to use variadic macros in C++ code as we interface with C
2024-09-04 22:20:59 +02:00
akallabeth 16d6c3b795
[clang-tidy] disable modernize-return-braced-init-list
this check does not work well with older C++ standards
2024-09-03 17:41:02 +02:00
akallabeth ca5a8e0625
[ci,clang-tidy] disable cppcoreguidelines-macro-to-enum 2024-09-03 12:56:13 +02:00
akallabeth c44f89bc68
[clang-tidy] disable google-readability-todo 2024-08-29 15:13:38 +02:00
akallabeth 6a5d6d0514
[ci,clang-tidy] disable uninitialize va_list warning 2024-08-29 10:47:28 +02:00
Armin Novak 4a9018ab14
[clang-tidy] cleanup configuration
* Remove unknown AnalyzeTemporaryDtors
* Deactivate some tests contradicting our coding style
2024-08-28 10:01:22 +02:00
akallabeth 378c9f8b98 [ci,tidy] allow integer bool conditions
We heavily rely on our custom BOOL type which is a typedef to int32_t.
Consider this a valid bool condition for
readability-implicit-bool-conversion
2024-03-09 09:47:17 +01:00
akallabeth 7cc4158c5e [ci,tidy] deactivate performance-no-int-to-ptr 2024-02-22 09:33:59 +01:00
akallabeth 735dc61cd9 [clang,tidy] fix typo in .clang-tidy 2024-02-14 19:04:50 +01:00
akallabeth 625daf18a8 [clang,tidy] disable too verbose checks
* readability-identifier-length
* bugprone-easily-swappable-parameters
2024-02-10 12:47:00 +01:00
akallabeth 15d9e5e01a [cmake] add clang-tidy support 2024-01-25 09:40:10 +01:00