Skip to content

Commit

Permalink
Disable and handle more tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Oct 11, 2024
1 parent e4712d9 commit 069e80a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .tidy/make/make_tidy_03_flags.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@ C_INCLUDES :=$(addprefix -I,$(C_INCLUDES))


TIDY_CHECKS = "*, \
-cert-dcl58-cpp, \
-cppcoreguidelines-rvalue-reference-param-not-moved, \
-cppcoreguidelines-avoid-do-while, \
-modernize-type-traits, \
-modernize-use-constraints, \
-misc-header-include-cycle, \
-misc-include-cleaner, \
-misc-const-correctness, \
-performance-avoid-endl, \
-readability-identifier-length, \
-readability-redundant-casting, \
-altera-struct-pack-align, \
Expand Down
4 changes: 2 additions & 2 deletions examples/example012_rsa_crypto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ namespace local_rsa
}

private:
const public_key_type& public_key; // NOLINT(readability-identifier-naming)
const public_key_type& public_key; // NOLINT(readability-identifier-naming,cppcoreguidelines-avoid-const-or-ref-data-members)
};

class decryptor
Expand All @@ -132,7 +132,7 @@ namespace local_rsa
}

private:
const private_key_type& private_key; // NOLINT(readability-identifier-naming)
const private_key_type& private_key; // NOLINT(readability-identifier-naming,cppcoreguidelines-avoid-const-or-ref-data-members)
};

rsa_base(const rsa_base& other) : my_p (other.my_p),
Expand Down

0 comments on commit 069e80a

Please sign in to comment.