Skip to content

Conversation

@roligugus
Copy link
Owner

Make sure these boxes are signed before submitting your Pull Request -- thank you.

Link to redmine ticket:

Describe changes:

PRScript output (if applicable):

#suricata-verify-pr:
#suricata-verify-repo:
#suricata-verify-branch:
#suricata-update-pr:
#suricata-update-repo:
#suricata-update-branch:
#libhtp-pr:
#libhtp-repo:
#libhtp-branch:

clang-format allows to auto-format C code. The settings here are set up to follow the code style, see https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Coding_Style.

Some bike shedding should still happen. Includes sample formatted code.

One can set up .clang-format as "differential setting based on an existing project" or specify all settings. Includes both for people to compare.

DO NOT MERGE AS IS.
@roligugus roligugus force-pushed the clang-format-proposal-v3-test branch 2 times, most recently from 01a83d9 to 8bc70e9 Compare July 11, 2020 02:00
@roligugus roligugus force-pushed the clang-format-proposal-v3-test branch from 8bc70e9 to 36b02c3 Compare July 11, 2020 02:42
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