Skip to content

Commit

Permalink
hermes | Remove extra unneeded semicolons.
Browse files Browse the repository at this point in the history
Summary:
Removing extra semicolons, nothing more.
Trying to enable extra-semi warning in clang for code that depends on Hermes.

Reviewed By: justinvjoseph

Differential Revision: D62305863

fbshipit-source-id: d3110fc48110851b4d43cef59a6dfb14ca0bd399
  • Loading branch information
nlutsenko authored and facebook-github-bot committed Sep 6, 2024
1 parent b9b6eb9 commit 468f005
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/hermes/Public/CtorConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
public: \
Builder() = default; \
\
explicit Builder(const NAME &config) : config_(config){}; \
explicit Builder(const NAME &config) : config_(config) {} \
\
inline const NAME build() { \
config_.doBuild(*this); \
Expand Down
6 changes: 3 additions & 3 deletions public/hermes/Public/GCConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ struct GCAnalyticsEvent {
nullptr) \
/* GC_TRIPWIRE_FIELDS END */

_HERMES_CTORCONFIG_STRUCT(GCTripwireConfig, GC_TRIPWIRE_FIELDS, {});
_HERMES_CTORCONFIG_STRUCT(GCTripwireConfig, GC_TRIPWIRE_FIELDS, {})

#undef HEAP_TRIPWIRE_FIELDS

Expand All @@ -124,7 +124,7 @@ _HERMES_CTORCONFIG_STRUCT(GCTripwireConfig, GC_TRIPWIRE_FIELDS, {});
F(constexpr, int64_t, RandomSeed, -1) \
/* GC_HANDLESAN_FIELDS END */

_HERMES_CTORCONFIG_STRUCT(GCSanitizeConfig, GC_HANDLESAN_FIELDS, {});
_HERMES_CTORCONFIG_STRUCT(GCSanitizeConfig, GC_HANDLESAN_FIELDS, {})

#undef GC_HANDLESAN_FIELDS

Expand Down Expand Up @@ -221,7 +221,7 @@ _HERMES_CTORCONFIG_STRUCT(GCConfig, GC_FIELDS, {

// Make sure the max is at least the Init.
MaxHeapSize_ = std::max(InitHeapSize_, MaxHeapSize_);
});
})

#undef GC_FIELDS

Expand Down

0 comments on commit 468f005

Please sign in to comment.