From 04085ecd997f5ea65e6e3be2cc99ddedd8d25fcd Mon Sep 17 00:00:00 2001 From: Qian Matteo Chen Date: Thu, 17 Dec 2020 05:06:19 -0800 Subject: [PATCH] [TypeShrinking] Fix styling issues --- include/revng-c/TypeShrinking/MFP.h | 24 ++++++++++++------------ lib/TypeShrinking/BitLiveness.cpp | 20 +++++++++++++------- lib/TypeShrinking/TypeShrinking.cpp | 6 +++--- 3 files changed, 28 insertions(+), 22 deletions(-) diff --git a/include/revng-c/TypeShrinking/MFP.h b/include/revng-c/TypeShrinking/MFP.h index 597a9b78f..713e2093c 100644 --- a/include/revng-c/TypeShrinking/MFP.h +++ b/include/revng-c/TypeShrinking/MFP.h @@ -25,8 +25,8 @@ concept same_as = std::is_same_v; template struct MFPResult { - LatticeElement inValue; - LatticeElement outValue; + LatticeElement InValue; + LatticeElement OutValue; }; /// GT is an instance of llvm::GraphTraits e.g. llvm::GraphTraits @@ -53,19 +53,19 @@ concept MonotoneFrameworkInstance = requires(typename MFI::LatticeElement E1, // clang-format on }; -template +template struct WorklistItem { - size_t priority; - Label label; + size_t Priority; + ItemType Item; - friend bool - operator<(const WorklistItem