auto-lint YGLayout.h YGNode.h YGStyle.cpp YGStyle.h

Summary:
@public

automatically applies lint fixes to  YGLayout.h YGNode.h YGStyle.cpp YGStyle.h

Reviewed By: astreet

Differential Revision: D8913432

fbshipit-source-id: 488bf25db041ddb527565c26c1762c6ee4cae736
This commit is contained in:
David Aurelio
2018-07-19 09:51:23 -07:00
committed by Facebook Github Bot
parent 7be9fd1a79
commit f172d5d41c
4 changed files with 40 additions and 39 deletions

View File

@@ -1,10 +1,10 @@
/**
/*
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
#pragma once
#include "YGFloatOptional.h"
#include "Yoga-internal.h"

View File

@@ -1,10 +1,10 @@
/**
/*
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
#pragma once
#include <stdio.h>
#include "YGConfig.h"
@@ -131,7 +131,8 @@ struct YGNode {
}
// Methods related to positions, margin, padding and border
YGFloatOptional getLeadingPosition(const YGFlexDirection& axis,
YGFloatOptional getLeadingPosition(
const YGFlexDirection& axis,
const float& axisSize) const;
bool isLeadingPositionDefined(const YGFlexDirection& axis) const;
bool isTrailingPosDefined(const YGFlexDirection& axis) const;

View File

@@ -1,10 +1,10 @@
/**
/*
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
#include "YGStyle.h"
const YGValue kYGValueUndefined = {0, YGUnitUndefined};

View File

@@ -1,10 +1,10 @@
/**
/*
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
#pragma once
#include "YGFloatOptional.h"
#include "Yoga-internal.h"