Coverage Report

Created: 2026-09-01 07:21

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/yoga/yoga/enums/ExperimentalFeature.h
Line
Count
Source
1
/*
2
 * Copyright (c) Meta Platforms, Inc. and affiliates.
3
 *
4
 * This source code is licensed under the MIT license found in the
5
 * LICENSE file in the root directory of this source tree.
6
 */
7
8
// @generated by enums.py
9
// clang-format off
10
#pragma once
11
12
#include <cstdint>
13
#include <yoga/YGEnums.h>
14
#include <yoga/enums/YogaEnums.h>
15
16
namespace facebook::yoga {
17
18
enum class ExperimentalFeature : uint8_t {
19
  WebFlexBasis = YGExperimentalFeatureWebFlexBasis,
20
  FixFlexBasisFitContent = YGExperimentalFeatureFixFlexBasisFitContent,
21
};
22
23
template <>
24
0
constexpr int32_t ordinalCount<ExperimentalFeature>() {
25
0
  return 2;
26
0
}
27
28
0
constexpr ExperimentalFeature scopedEnum(YGExperimentalFeature unscoped) {
29
0
  return static_cast<ExperimentalFeature>(unscoped);
30
0
}
31
32
0
constexpr YGExperimentalFeature unscopedEnum(ExperimentalFeature scoped) {
33
0
  return static_cast<YGExperimentalFeature>(scoped);
34
0
}
35
36
0
inline const char* toString(ExperimentalFeature e) {
37
0
  return YGExperimentalFeatureToString(unscopedEnum(e));
38
0
}
39
40
} // namespace facebook::yoga