react-native/ReactCommon/fabric/view
Valentin Shergin eabf29e320 Fabric: Getting rid of many `auto &&`
Summary:
@public
After reading about move-semantic and rvalue refs I realized that we (I) definitely overuse  `auto &&` (aka universal reference) construction. Even if this is harmless, does not look good and idiomatic.
Whenever I used that from a semantical point of view I always meant  "I need an alias for this" which is actually "read-only reference" which is `const auto &`.
This is also fit good to our policy where "everything is const (immutable) by default".
Hence I change that to how it should be.

Reviewed By: fkgozali

Differential Revision: D8475637

fbshipit-source-id: 0a691ededa0e798db8ffa053bff0f400913ab7b8
2018-06-22 07:32:49 -07:00
..
accessibility Fabric: Support of accessibility events for <View> component 2018-05-22 16:31:58 -07:00
root Fabric: Composing YGNode object inside ShadowNode to avoid memory allocation overhead 2018-05-22 15:48:17 -07:00
tests iOS: added placeholder test setup for fabric graphics/uimanager/view targets 2018-03-23 22:22:20 -07:00
yoga Fabric: Proxying `pointScaleFactor` to Yoga Config 2018-06-22 07:32:49 -07:00
BUCK Re-format BUCK to use recommended style. 2018-05-20 23:24:51 -07:00
ConcreteViewShadowNode.h Fabric: Getting rid of many `auto &&` 2018-06-22 07:32:49 -07:00
ViewComponentDescriptor.h Fabric: Simplifying usage of `ConcreteComponentDescriptor` 2018-05-17 20:28:50 -07:00
ViewEventEmitter.cpp Fabric: Getting rid of many `auto &&` 2018-06-22 07:32:49 -07:00
ViewEventEmitter.h Fabric: All *EventHandlers were renamed to *EventEmitter 2018-06-09 13:16:45 -07:00
ViewProps.cpp Fabric: Getting rid of many `auto &&` 2018-06-22 07:32:49 -07:00
ViewProps.h Fabric: Fixed erratum in "borderRadius" prop name 2018-06-17 21:46:22 -07:00
ViewShadowNode.cpp Fabric/Text: ConcreteViewShadowNode - base class for all `View`-like shadow nodes 2018-04-26 18:03:06 -07:00
ViewShadowNode.h Fabric: All *EventHandlers were renamed to *EventEmitter 2018-06-09 13:16:45 -07:00
conversions.h Fabric: Getting rid of many `auto &&` 2018-06-22 07:32:49 -07:00
primitives.h Fabric: Fixed `Identity Transform` matrix literal 2018-06-18 23:02:41 -07:00
propsConversions.h Fabric: Fixed error in parsing `position` style 2018-06-17 21:46:22 -07:00