mirror of https://github.com/FreeRDP/FreeRDP
[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
This commit is contained in:
parent
6c88d89566
commit
a3b658f677
|
@ -33,6 +33,7 @@ Checks: >
|
||||||
-clang-analyzer-valist.Uninitialized,
|
-clang-analyzer-valist.Uninitialized,
|
||||||
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
||||||
-cppcoreguidelines-owning-memory,
|
-cppcoreguidelines-owning-memory,
|
||||||
|
-cppcoreguidelines-avoid-c-arrays,
|
||||||
-cppcoreguidelines-avoid-do-while,
|
-cppcoreguidelines-avoid-do-while,
|
||||||
-cppcoreguidelines-avoid-magic-numbers,
|
-cppcoreguidelines-avoid-magic-numbers,
|
||||||
-cppcoreguidelines-avoid-non-const-global-variables,
|
-cppcoreguidelines-avoid-non-const-global-variables,
|
||||||
|
@ -57,6 +58,7 @@ Checks: >
|
||||||
-modernize-use-trailing-return-type,
|
-modernize-use-trailing-return-type,
|
||||||
-modernize-return-braced-init-list,
|
-modernize-return-braced-init-list,
|
||||||
-modernize-macro-to-enum,
|
-modernize-macro-to-enum,
|
||||||
|
-modernize-pass-by-value,
|
||||||
-readability-braces-around-statements,
|
-readability-braces-around-statements,
|
||||||
-readability-function-cognitive-complexity,
|
-readability-function-cognitive-complexity,
|
||||||
-readability-identifier-length,
|
-readability-identifier-length,
|
||||||
|
|
Loading…
Reference in New Issue