From: Carlos Maniero <carlos@maniero.me>
To: ~johnnyrichard/olang-devel@lists.sr.ht
Cc: Carlos Maniero <carlos@maniero.me>
Subject: [PATCH olang v2 0/4] codestyle: change our formater
Date: Fri, 11 Oct 2024 16:57:13 +0000 (UTC) [thread overview]
Message-ID: <20241011165708.553265-1-carlos@maniero.me> (raw)
After the discussion on the previous patchset[1], we decided to drop the
follow configs:
codestyle: change AlignAfterOpenBracket to BlockIndent
codestyle: never BreakBeforeBraces
[1]: Message-ID <20241010013318.222905-1-carlos@maniero.me>
Carlos Maniero (4):
codestyle: prevent extra empty lines at EOF
codestyle: do not allow single line enums
codestyle: add trailing comma on struct initializer
codestyle: limit the code to 80 characters
.clang-format | 7 +-
src/ast.c | 60 ++++--
src/ast.h | 38 +++-
src/checker.c | 13 +-
src/cli.c | 34 ++--
src/codegen_linux_x86_64.c | 339 ++++++++++++++++++++++++----------
src/codegen_linux_x86_64.h | 3 +-
src/lexer.c | 97 +++++++---
src/main.c | 24 ++-
src/map.c | 26 ++-
src/parser.c | 73 ++++++--
src/pretty_print_ast.c | 81 +++++---
src/scope.c | 9 +-
src/string_view.c | 5 +-
tests/unit/arena_test.c | 26 ++-
tests/unit/list_test.c | 33 +++-
tests/unit/map_test.c | 20 +-
tests/unit/string_view_test.c | 46 ++++-
18 files changed, 693 insertions(+), 241 deletions(-)
base-commit: dae44406b4bd25c83c81bc528146d76c797e1b0e
--
2.46.1
next reply other threads:[~2024-10-11 16:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-11 16:57 Carlos Maniero [this message]
2024-10-11 16:57 ` [PATCH olang v2 1/4] codestyle: prevent extra empty lines at EOF Carlos Maniero
2024-10-11 16:57 ` [PATCH olang v2 2/4] codestyle: do not allow single line enums Carlos Maniero
2024-10-11 16:57 ` [PATCH olang v2 3/4] codestyle: add trailing comma on struct initializer Carlos Maniero
2024-10-11 16:57 ` [PATCH olang v2 4/4] codestyle: limit the code to 80 characters Carlos Maniero
2024-10-11 16:58 ` [olang/patches/.build.yml] build success builds.sr.ht
2024-10-12 23:35 ` [PATCH olang v2 0/4] codestyle: change our formater Johnny Richard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241011165708.553265-1-carlos@maniero.me \
--to=carlos@maniero.me \
--cc=~johnnyrichard/olang-devel@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.johnnyrichard.com/olang.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox