Skip to content

Conversation

@bettio
Copy link
Collaborator

@bettio bettio commented Nov 17, 2025

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@bettio bettio changed the base branch from main to release-0.6 November 17, 2025 16:38
@bettio bettio changed the base branch from release-0.6 to main November 17, 2025 16:38
Make nested preprocessor directives more readable.

Apply new style just to libAtomVM: it will be applied to platforms
later.

Signed-off-by: Davide Bettio <[email protected]>
Apply new rule for improved macro readability.

Signed-off-by: Davide Bettio <[email protected]>
@bettio bettio force-pushed the format-macro branch 2 times, most recently from 7f5b2f9 to 3f03790 Compare November 18, 2025 19:30
Run recent clang-format in order to apply other formatting rules that
are not IndentPPDirectives.

Also upgrade to clang-format 20.

Signed-off-by: Davide Bettio <[email protected]>
- name: "Check formatting with clang-format"
run: |
./run-clang-format --style=file --clang-format-executable=clang-format-16 -r src/ tests/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-format-16-> clang-format-20?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants