Code formatting: allow short inline methods on one line

Summary:
@public

This allows short methods defined in class declarations to occupy a single line.
The change makes class declarations more readable.

Reviewed By: SidharthGuglani

Differential Revision: D14950012

fbshipit-source-id: 1321949475184181c6cceb86613f730e430763e2
This commit is contained in:
David Aurelio
2019-04-16 07:09:36 -07:00
committed by Facebook Github Bot
parent 3f7d03b443
commit e9bb1efb03
10 changed files with 47 additions and 139 deletions

View File

@@ -134,9 +134,7 @@ public:
payload_.repr != ZERO_BITS_PERCENT && std::isnan(payload_.value));
}
bool isAuto() const noexcept {
return payload_.repr == AUTO_BITS;
}
bool isAuto() const noexcept { return payload_.repr == AUTO_BITS; }
private:
union Payload {
@@ -160,9 +158,7 @@ private:
Payload payload_;
VISIBLE_FOR_TESTING uint32_t repr() {
return payload_.repr;
}
VISIBLE_FOR_TESTING uint32_t repr() { return payload_.repr; }
};
template <>