Skip to content

Commit

Permalink
src: remove unnecessary semicolons after macros
Browse files Browse the repository at this point in the history
These do not play well with -Wextra-semi

PR-URL: #27529
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
hashseed authored and targos committed May 5, 2019
1 parent 826fb66 commit bb373d0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ class IsolateData : public MemoryRetainer {
MultiIsolatePlatform* platform = nullptr,
ArrayBufferAllocator* node_allocator = nullptr,
const std::vector<size_t>* indexes = nullptr);
SET_MEMORY_INFO_NAME(IsolateData);
SET_SELF_SIZE(IsolateData);
SET_MEMORY_INFO_NAME(IsolateData)
SET_SELF_SIZE(IsolateData)
void MemoryInfo(MemoryTracker* tracker) const override;
std::vector<size_t> Serialize(v8::SnapshotCreator* creator);

Expand Down Expand Up @@ -584,8 +584,8 @@ extern std::shared_ptr<KVStore> system_environment;

class AsyncHooks : public MemoryRetainer {
public:
SET_MEMORY_INFO_NAME(AsyncHooks);
SET_SELF_SIZE(AsyncHooks);
SET_MEMORY_INFO_NAME(AsyncHooks)
SET_SELF_SIZE(AsyncHooks)
void MemoryInfo(MemoryTracker* tracker) const override;

// Reason for both UidFields and Fields are that one is stored as a double*
Expand Down Expand Up @@ -687,8 +687,8 @@ class ImmediateInfo : public MemoryRetainer {
ImmediateInfo(const ImmediateInfo&) = delete;
ImmediateInfo& operator=(const ImmediateInfo&) = delete;

SET_MEMORY_INFO_NAME(ImmediateInfo);
SET_SELF_SIZE(ImmediateInfo);
SET_MEMORY_INFO_NAME(ImmediateInfo)
SET_SELF_SIZE(ImmediateInfo)
void MemoryInfo(MemoryTracker* tracker) const override;

private:
Expand All @@ -706,8 +706,8 @@ class TickInfo : public MemoryRetainer {
inline bool has_tick_scheduled() const;
inline bool has_rejection_to_warn() const;

SET_MEMORY_INFO_NAME(TickInfo);
SET_SELF_SIZE(TickInfo);
SET_MEMORY_INFO_NAME(TickInfo)
SET_SELF_SIZE(TickInfo)
void MemoryInfo(MemoryTracker* tracker) const override;

TickInfo(const TickInfo&) = delete;
Expand Down Expand Up @@ -786,7 +786,7 @@ class Environment : public MemoryRetainer {
Environment(const Environment&) = delete;
Environment& operator=(const Environment&) = delete;

SET_MEMORY_INFO_NAME(Environment);
SET_MEMORY_INFO_NAME(Environment)

inline size_t SelfSize() const override;
bool IsRootNode() const override { return true; }
Expand Down

0 comments on commit bb373d0

Please sign in to comment.