Skip to content

Commit f285445

Browse files
Polyominofacebook-github-bot
authored andcommitted
remove extra semis from arfx/atlas/modules and deps (#1289)
Summary: X-link: facebook/yoga#1289 X-link: facebook/react-native#37360 Pull Request resolved: facebook#947 X-link: facebook/igl#21 Reviewed By: nlutsenko Differential Revision: D45722118 fbshipit-source-id: b1defc3acc96e073466aa3b9c8d77d43404a8855
1 parent bede325 commit f285445

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

lib/yoga/src/main/cpp/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_;

lib/yoga/src/main/cpp/yoga/Yoga.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ YOGA_EXPORT void YGNodeStyleSetMinWidthPercent(
841841
}
842842
YOGA_EXPORT YGValue YGNodeStyleGetMinWidth(const YGNodeConstRef node) {
843843
return node->getStyle().minDimensions()[YGDimensionWidth];
844-
};
844+
}
845845

846846
YOGA_EXPORT void YGNodeStyleSetMinHeight(
847847
const YGNodeRef node,
@@ -859,7 +859,7 @@ YOGA_EXPORT void YGNodeStyleSetMinHeightPercent(
859859
}
860860
YOGA_EXPORT YGValue YGNodeStyleGetMinHeight(const YGNodeConstRef node) {
861861
return node->getStyle().minDimensions()[YGDimensionHeight];
862-
};
862+
}
863863

864864
YOGA_EXPORT void YGNodeStyleSetMaxWidth(
865865
const YGNodeRef node,
@@ -877,7 +877,7 @@ YOGA_EXPORT void YGNodeStyleSetMaxWidthPercent(
877877
}
878878
YOGA_EXPORT YGValue YGNodeStyleGetMaxWidth(const YGNodeConstRef node) {
879879
return node->getStyle().maxDimensions()[YGDimensionWidth];
880-
};
880+
}
881881

882882
YOGA_EXPORT void YGNodeStyleSetMaxHeight(
883883
const YGNodeRef node,
@@ -895,7 +895,7 @@ YOGA_EXPORT void YGNodeStyleSetMaxHeightPercent(
895895
}
896896
YOGA_EXPORT YGValue YGNodeStyleGetMaxHeight(const YGNodeConstRef node) {
897897
return node->getStyle().maxDimensions()[YGDimensionHeight];
898-
};
898+
}
899899

900900
#define YG_NODE_LAYOUT_PROPERTY_IMPL(type, name, instanceName) \
901901
YOGA_EXPORT type YGNodeLayoutGet##name(const YGNodeRef node) { \
@@ -929,18 +929,18 @@ YOGA_EXPORT YGValue YGNodeStyleGetMaxHeight(const YGNodeConstRef node) {
929929
return node->getLayout().instanceName[edge]; \
930930
}
931931

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

945945
std::atomic<uint32_t> gCurrentGenerationCount(0);
946946

0 commit comments

Comments
 (0)