1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Style: No break before list brace

clang-format does not handle that well *at all*.

For the reference, found the relevant pieces of code with:
`ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty`
This commit is contained in:
Rémi Verschelde
2017-01-14 17:51:21 +01:00
parent 3890256fc5
commit 40323407df
6 changed files with 7 additions and 14 deletions

View File

@@ -612,8 +612,7 @@ uint64_t _OS::get_unix_time_from_datetime(Dictionary datetime) const {
static_cast<unsigned int>(datetime[YEAR_KEY]):0);
/// How many days come before each month (0-12)
static const unsigned short int DAYS_PAST_THIS_YEAR_TABLE[2][13] =
{
static const unsigned short int DAYS_PAST_THIS_YEAR_TABLE[2][13] = {
/* Normal years. */
{ 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 },
/* Leap years. */