Skip to content

Commit d2f2fc3

Browse files
Polyominofacebook-github-bot
authored andcommitted
remove extra semis from arfx/atlas/modules and deps (#1289)
Summary: X-link: facebook/yoga#1289 Pull Request resolved: #37360 X-link: facebook/litho#947 X-link: facebook/igl#21 Reviewed By: nlutsenko, NickGerleman Differential Revision: D45722118 fbshipit-source-id: 1df325940703438509c4f8614279aec45a3a1374
1 parent 92fc503 commit d2f2fc3

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

packages/react-native/ReactCommon/yoga/yoga/YGNode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ YGNode::YGNode(const YGConfigRef config) : config_{config} {
2121
if (config->useWebDefaults()) {
2222
useWebDefaults();
2323
}
24-
};
24+
}
2525

2626
YGNode::YGNode(YGNode&& node) {
2727
context_ = node.context_;

packages/react-native/ReactCommon/yoga/yoga/Yoga.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ YOGA_EXPORT void YGNodeStyleSetMinWidthPercent(
845845
}
846846
YOGA_EXPORT YGValue YGNodeStyleGetMinWidth(const YGNodeConstRef node) {
847847
return node->getStyle().minDimensions()[YGDimensionWidth];
848-
};
848+
}
849849

850850
YOGA_EXPORT void YGNodeStyleSetMinHeight(
851851
const YGNodeRef node,
@@ -863,7 +863,7 @@ YOGA_EXPORT void YGNodeStyleSetMinHeightPercent(
863863
}
864864
YOGA_EXPORT YGValue YGNodeStyleGetMinHeight(const YGNodeConstRef node) {
865865
return node->getStyle().minDimensions()[YGDimensionHeight];
866-
};
866+
}
867867

868868
YOGA_EXPORT void YGNodeStyleSetMaxWidth(
869869
const YGNodeRef node,
@@ -881,7 +881,7 @@ YOGA_EXPORT void YGNodeStyleSetMaxWidthPercent(
881881
}
882882
YOGA_EXPORT YGValue YGNodeStyleGetMaxWidth(const YGNodeConstRef node) {
883883
return node->getStyle().maxDimensions()[YGDimensionWidth];
884-
};
884+
}
885885

886886
YOGA_EXPORT void YGNodeStyleSetMaxHeight(
887887
const YGNodeRef node,
@@ -899,7 +899,7 @@ YOGA_EXPORT void YGNodeStyleSetMaxHeightPercent(
899899
}
900900
YOGA_EXPORT YGValue YGNodeStyleGetMaxHeight(const YGNodeConstRef node) {
901901
return node->getStyle().maxDimensions()[YGDimensionHeight];
902-
};
902+
}
903903

904904
#define YG_NODE_LAYOUT_PROPERTY_IMPL(type, name, instanceName) \
905905
YOGA_EXPORT type YGNodeLayoutGet##name(const YGNodeRef node) { \
@@ -933,18 +933,18 @@ YOGA_EXPORT YGValue YGNodeStyleGetMaxHeight(const YGNodeConstRef node) {
933933
return node->getLayout().instanceName[edge]; \
934934
}
935935

936-
YG_NODE_LAYOUT_PROPERTY_IMPL(float, Left, position[YGEdgeLeft]);
937-
YG_NODE_LAYOUT_PROPERTY_IMPL(float, Top, position[YGEdgeTop]);
938-
YG_NODE_LAYOUT_PROPERTY_IMPL(float, Right, position[YGEdgeRight]);
939-
YG_NODE_LAYOUT_PROPERTY_IMPL(float, Bottom, position[YGEdgeBottom]);
940-
YG_NODE_LAYOUT_PROPERTY_IMPL(float, Width, dimensions[YGDimensionWidth]);
941-
YG_NODE_LAYOUT_PROPERTY_IMPL(float, Height, dimensions[YGDimensionHeight]);
942-
YG_NODE_LAYOUT_PROPERTY_IMPL(YGDirection, Direction, direction());
943-
YG_NODE_LAYOUT_PROPERTY_IMPL(bool, HadOverflow, hadOverflow());
944-
945-
YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL(float, Margin, margin);
946-
YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL(float, Border, border);
947-
YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL(float, Padding, padding);
936+
YG_NODE_LAYOUT_PROPERTY_IMPL(float, Left, position[YGEdgeLeft])
937+
YG_NODE_LAYOUT_PROPERTY_IMPL(float, Top, position[YGEdgeTop])
938+
YG_NODE_LAYOUT_PROPERTY_IMPL(float, Right, position[YGEdgeRight])
939+
YG_NODE_LAYOUT_PROPERTY_IMPL(float, Bottom, position[YGEdgeBottom])
940+
YG_NODE_LAYOUT_PROPERTY_IMPL(float, Width, dimensions[YGDimensionWidth])
941+
YG_NODE_LAYOUT_PROPERTY_IMPL(float, Height, dimensions[YGDimensionHeight])
942+
YG_NODE_LAYOUT_PROPERTY_IMPL(YGDirection, Direction, direction())
943+
YG_NODE_LAYOUT_PROPERTY_IMPL(bool, HadOverflow, hadOverflow())
944+
945+
YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL(float, Margin, margin)
946+
YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL(float, Border, border)
947+
YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL(float, Padding, padding)
948948

949949
std::atomic<uint32_t> gCurrentGenerationCount(0);
950950

0 commit comments

Comments
 (0)