Skip to content

Commit 069e80a

Browse files
committed
Disable and handle more tidy
1 parent e4712d9 commit 069e80a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.tidy/make/make_tidy_03_flags.gmk

+2
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ C_INCLUDES :=$(addprefix -I,$(C_INCLUDES))
4141

4242

4343
TIDY_CHECKS = "*, \
44+
-cert-dcl58-cpp, \
4445
-cppcoreguidelines-rvalue-reference-param-not-moved, \
4546
-cppcoreguidelines-avoid-do-while, \
4647
-modernize-type-traits, \
4748
-modernize-use-constraints, \
4849
-misc-header-include-cycle, \
4950
-misc-include-cleaner, \
5051
-misc-const-correctness, \
52+
-performance-avoid-endl, \
5153
-readability-identifier-length, \
5254
-readability-redundant-casting, \
5355
-altera-struct-pack-align, \

examples/example012_rsa_crypto.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ namespace local_rsa
109109
}
110110

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

115115
class decryptor
@@ -132,7 +132,7 @@ namespace local_rsa
132132
}
133133

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

138138
rsa_base(const rsa_base& other) : my_p (other.my_p),

0 commit comments

Comments
 (0)