mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Work around different clang-format versions
Locally I have clang-format 15.0.2. Our CI runs ubuntu-20.04 so it has 10.0. Seems like a default value changed but I can't find it. When I still had clang-format 14.x everything was fine and checking: https://releases.llvm.org/15.0.0/tools/clang/docs/ReleaseNotes.html#clang-format I only see irrelevant things. Someone on the llvm IRC channel sais "there is no guarantee" and "maybe a regression or intended change". But seems like noone knows which setting could be the one we need. Since I don't have a better solution for now I will just edit this by hand to apply to the clang-format version we have on the CI. Will look into updating this one. But in any case it would be best if the configuration file could have this setting so formatting works the same for all contributors.
This commit is contained in:
parent
aa9b96e25c
commit
413b5f9bc9
@ -59,7 +59,7 @@ static struct color_pair_cache
|
|||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
int16_t fg, bg;
|
int16_t fg, bg;
|
||||||
}* pairs;
|
} * pairs;
|
||||||
int size;
|
int size;
|
||||||
int capacity;
|
int capacity;
|
||||||
} cache = { 0 };
|
} cache = { 0 };
|
||||||
|
Loading…
Reference in New Issue
Block a user