Make clang-format <13 and clang-format >=13 behave the same

I think old clang-format is just buggy in those cases, so we should
reenable those blocks, once everyone has 13 or up.
This commit is contained in:
Nicolas Werner 2021-11-22 00:32:49 +01:00
parent b1092c0f2f
commit a13f492e7d
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
22 changed files with 116 additions and 114 deletions

View file

@ -1115,7 +1115,14 @@ WebRTCSession::haveLocalPiP() const
return false;
}
bool WebRTCSession::createOffer(webrtc::CallType, uint32_t) { return false; }
// clang-format off
// clang-format < 12 is buggy on this
bool
WebRTCSession::createOffer(webrtc::CallType, uint32_t)
{
return false;
}
// clang-format on
bool
WebRTCSession::acceptOffer(const std::string &)