Skip to content

Commit f5dd85b

Browse files
codebyteredanielleadams
authored andcommitted
src: remove more extra semis from member fns
PR-URL: #38744 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent 96fa387 commit f5dd85b

18 files changed

+47
-47
lines changed

‎src/crypto/crypto_aes.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ struct AESCipherConfig final : public MemoryRetainer{
5252
AESCipherConfig& operator=(AESCipherConfig&& other) noexcept;
5353

5454
voidMemoryInfo(MemoryTracker* tracker) constoverride;
55-
SET_MEMORY_INFO_NAME(AESCipherConfig);
56-
SET_SELF_SIZE(AESCipherConfig);
55+
SET_MEMORY_INFO_NAME(AESCipherConfig)
56+
SET_SELF_SIZE(AESCipherConfig)
5757
};
5858

5959
structAESCipherTraitsfinal{

‎src/crypto/crypto_dh.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ using DHKeyExportJob = KeyExportJob<DHKeyExportTraits>
114114
structDHBitsConfigfinal : public MemoryRetainer{
115115
std::shared_ptr<KeyObjectData> private_key;
116116
std::shared_ptr<KeyObjectData> public_key;
117-
SET_NO_MEMORY_INFO();
118-
SET_MEMORY_INFO_NAME(DHBitsConfig);
119-
SET_SELF_SIZE(DHBitsConfig);
117+
SET_NO_MEMORY_INFO()
118+
SET_MEMORY_INFO_NAME(DHBitsConfig)
119+
SET_SELF_SIZE(DHBitsConfig)
120120
};
121121

122122
structDHBitsTraitsfinal{

‎src/crypto/crypto_dsa.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ struct DsaKeyPairParams final : public MemoryRetainer{
1616
unsignedint modulus_bits;
1717
int divisor_bits;
1818
SET_NO_MEMORY_INFO()
19-
SET_MEMORY_INFO_NAME(DsaKeyPairParams);
20-
SET_SELF_SIZE(DsaKeyPairParams);
19+
SET_MEMORY_INFO_NAME(DsaKeyPairParams)
20+
SET_SELF_SIZE(DsaKeyPairParams)
2121
};
2222

2323
using DsaKeyPairGenConfig = KeyPairGenConfig<DsaKeyPairParams>
@@ -38,9 +38,9 @@ struct DsaKeyGenTraits final{
3838
using DsaKeyPairGenJob = KeyGenJob<KeyPairGenTraits<DsaKeyGenTraits>>
3939

4040
structDSAKeyExportConfigfinal : public MemoryRetainer{
41-
SET_NO_MEMORY_INFO();
42-
SET_MEMORY_INFO_NAME(DSAKeyExportConfig);
43-
SET_SELF_SIZE(DSAKeyExportConfig);
41+
SET_NO_MEMORY_INFO()
42+
SET_MEMORY_INFO_NAME(DSAKeyExportConfig)
43+
SET_SELF_SIZE(DSAKeyExportConfig)
4444
};
4545

4646
structDSAKeyExportTraitsfinal{

‎src/crypto/crypto_ec.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ struct ECDHBitsConfig final : public MemoryRetainer{
6060
std::shared_ptr<KeyObjectData> public_;
6161

6262
voidMemoryInfo(MemoryTracker* tracker) constoverride;
63-
SET_MEMORY_INFO_NAME(ECDHBitsConfig);
64-
SET_SELF_SIZE(ECDHBitsConfig);
63+
SET_MEMORY_INFO_NAME(ECDHBitsConfig)
64+
SET_SELF_SIZE(ECDHBitsConfig)
6565
};
6666

6767
structECDHBitsTraitsfinal{

‎src/crypto/crypto_hash.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ struct HashConfig final : public MemoryRetainer{
5252
HashConfig& operator=(HashConfig&& other) noexcept;
5353

5454
voidMemoryInfo(MemoryTracker* tracker) constoverride;
55-
SET_MEMORY_INFO_NAME(HashConfig);
56-
SET_SELF_SIZE(HashConfig);
55+
SET_MEMORY_INFO_NAME(HashConfig)
56+
SET_SELF_SIZE(HashConfig)
5757
};
5858

5959
structHashTraitsfinal{

‎src/crypto/crypto_hkdf.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ struct HKDFConfig final : public MemoryRetainer{
2929
HKDFConfig& operator=(HKDFConfig&& other) noexcept;
3030

3131
voidMemoryInfo(MemoryTracker* tracker) constoverride;
32-
SET_MEMORY_INFO_NAME(HKDFConfig);
33-
SET_SELF_SIZE(HKDFConfig);
32+
SET_MEMORY_INFO_NAME(HKDFConfig)
33+
SET_SELF_SIZE(HKDFConfig)
3434
};
3535

3636
structHKDFTraitsfinal{

‎src/crypto/crypto_hmac.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ struct HmacConfig final : public MemoryRetainer{
5454
HmacConfig& operator=(HmacConfig&& other) noexcept;
5555

5656
voidMemoryInfo(MemoryTracker* tracker) constoverride;
57-
SET_MEMORY_INFO_NAME(HmacConfig);
58-
SET_SELF_SIZE(HmacConfig);
57+
SET_MEMORY_INFO_NAME(HmacConfig)
58+
SET_SELF_SIZE(HmacConfig)
5959
};
6060

6161
structHmacTraitsfinal{

‎src/crypto/crypto_keygen.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class KeyGenJob final : public CryptoJob<KeyGenTraits>{
112112
returnv8::Just(errors->ToException(env).ToLocal(err));
113113
}
114114

115-
SET_SELF_SIZE(KeyGenJob);
115+
SET_SELF_SIZE(KeyGenJob)
116116

117117
private:
118118
KeyGenJobStatus status_ = KeyGenJobStatus::FAILED;

‎src/crypto/crypto_keys.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ class KeyObjectData : public MemoryRetainer{
149149
size_tGetSymmetricKeySize() const;
150150

151151
voidMemoryInfo(MemoryTracker* tracker) constoverride;
152-
SET_MEMORY_INFO_NAME(KeyObjectData);
153-
SET_SELF_SIZE(KeyObjectData);
152+
SET_MEMORY_INFO_NAME(KeyObjectData)
153+
SET_SELF_SIZE(KeyObjectData)
154154

155155
private:
156156
explicitKeyObjectData(ByteSource symmetric_key);

‎src/crypto/crypto_pbkdf2.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ struct PBKDF2Config final : public MemoryRetainer{
3939
PBKDF2Config& operator=(PBKDF2Config&& other) noexcept;
4040

4141
voidMemoryInfo(MemoryTracker* tracker) constoverride;
42-
SET_MEMORY_INFO_NAME(PBKDF2Config);
43-
SET_SELF_SIZE(PBKDF2Config);
42+
SET_MEMORY_INFO_NAME(PBKDF2Config)
43+
SET_SELF_SIZE(PBKDF2Config)
4444
};
4545

4646
structPBKDF2Traitsfinal{

0 commit comments

Comments
(0)