diff --git a/lib/vfvalue.h b/lib/vfvalue.h index 2a19fbef18b..27ce9bafd07 100644 --- a/lib/vfvalue.h +++ b/lib/vfvalue.h @@ -267,22 +267,26 @@ namespace ValueFlow Bound bound = Bound::Point; /** value relies on safe checking */ - bool safe{}; + bool safe : 1; /** Conditional value */ - bool conditional{}; + bool conditional : 1; /** Value is is from an expanded macro */ - bool macro{}; + bool macro : 1; /** Is this value passed as default parameter to the function? */ - bool defaultArg{}; + bool defaultArg : 1; + + long long : 4; // padding /** kind of moved */ enum class MoveKind : std::uint8_t { NonMovedVariable, MovedVariable, ForwardedVariable } moveKind = MoveKind::NonMovedVariable; enum class LifetimeScope : std::uint8_t { Local, Argument, SubFunction, ThisPointer, ThisValue } lifetimeScope = LifetimeScope::Local; + long long : 24; // padding + /** int value (or sometimes bool value?) */ long long intvalue{};