Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f5dd85b

Browse filesBrowse files
codebyteredanielleadams
authored andcommitted
src: remove more extra semis from member fns
PR-URL: #38744 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 96fa387 commit f5dd85b
Copy full SHA for f5dd85b
Expand file treeCollapse file tree

18 files changed

+47
-47
lines changed
Open diff view settings
Collapse file

‎src/crypto/crypto_aes.h‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_aes.h
+2-2Lines 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
void MemoryInfo(MemoryTracker* tracker) const override;
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
struct AESCipherTraits final {
Collapse file

‎src/crypto/crypto_dh.h‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_dh.h
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ using DHKeyExportJob = KeyExportJob<DHKeyExportTraits>;
114114
struct DHBitsConfig final : 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
struct DHBitsTraits final {
Collapse file

‎src/crypto/crypto_dsa.h‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_dsa.h
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ struct DsaKeyPairParams final : public MemoryRetainer {
1616
unsigned int 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
struct DSAKeyExportConfig final : 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
struct DSAKeyExportTraits final {
Collapse file

‎src/crypto/crypto_ec.h‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_ec.h
+2-2Lines 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
void MemoryInfo(MemoryTracker* tracker) const override;
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
struct ECDHBitsTraits final {
Collapse file

‎src/crypto/crypto_hash.h‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_hash.h
+2-2Lines 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
void MemoryInfo(MemoryTracker* tracker) const override;
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
struct HashTraits final {
Collapse file

‎src/crypto/crypto_hkdf.h‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_hkdf.h
+2-2Lines 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
void MemoryInfo(MemoryTracker* tracker) const override;
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
struct HKDFTraits final {
Collapse file

‎src/crypto/crypto_hmac.h‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_hmac.h
+2-2Lines 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
void MemoryInfo(MemoryTracker* tracker) const override;
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
struct HmacTraits final {
Collapse file

‎src/crypto/crypto_keygen.h‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_keygen.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class KeyGenJob final : public CryptoJob<KeyGenTraits> {
112112
return v8::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;
Collapse file

‎src/crypto/crypto_keys.h‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_keys.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ class KeyObjectData : public MemoryRetainer {
149149
size_t GetSymmetricKeySize() const;
150150

151151
void MemoryInfo(MemoryTracker* tracker) const override;
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
explicit KeyObjectData(ByteSource symmetric_key);
Collapse file

‎src/crypto/crypto_pbkdf2.h‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_pbkdf2.h
+2-2Lines 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
void MemoryInfo(MemoryTracker* tracker) const override;
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
struct PBKDF2Traits final {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.