mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fixup recent formatting boo boos I've committed
I always think I'll remember to clang-format before pushing, but I don't always follow through.
This commit is contained in:
@@ -37,11 +37,12 @@ struct Item {
|
||||
std::string name;
|
||||
std::string description;
|
||||
uint8_t kind : 2;
|
||||
uint8_t isExactMatch: 1;
|
||||
uint8_t isExactMatch : 1;
|
||||
double matchScore = 0.0; ///< The quality of the filter matching.
|
||||
double finalScore = -1.0; ///< The final score including match and context.
|
||||
ItemKind getKind() const { return static_cast<ItemKind>(kind); }
|
||||
Item(ItemKind k = ItemKind::None) : kind(static_cast<decltype(kind)>(k)), isExactMatch(0) {}
|
||||
Item(ItemKind k = ItemKind::None)
|
||||
: kind(static_cast<decltype(kind)>(k)), isExactMatch(0) {}
|
||||
virtual ~Item() {}
|
||||
};
|
||||
struct Result : public Item {
|
||||
|
||||
Reference in New Issue
Block a user