Tweak clang-format to not align across empty lines

That should fix insane function declarations
This commit is contained in:
2024-04-14 16:51:16 +02:00
parent fffc513b16
commit 63af59f5ac
47 changed files with 300 additions and 300 deletions

View File

@@ -26,12 +26,12 @@ using IntType = long long;
class CRange {
public:
IntType l = 0;
IntType r = 0;
IntType l = 0;
IntType r = 0;
CRange() = default;
CRange() = default;
CRange(IntType l, IntType r) : l(l), r(r) {
CRange(IntType l, IntType r) : l(l), r(r) {
if (l > r)
throw std::logic_error("CRange bad initialisation");
}
@@ -239,9 +239,9 @@ public:
this->it++;
}
reference operator*() const { return (it->second.first); }
reference operator*() const { return (it->second.first); }
pointer operator->() const { return &(it->second.first); }
pointer operator->() const { return &(it->second.first); }
CRangeListIterator &operator++() {
++it;