Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Wiki
code formatting
Changes
Page history
New page
Templates
Clone repository
dc-arri1 created page: gravity tests
authored
8 years ago
by
Matthieu Schaller
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code-formatting.md
+2
-2
2 additions, 2 deletions
code-formatting.md
with
2 additions
and
2 deletions
code-formatting.md
View page @
b00b3039
The code formatting used is currently based on the command:
```
clang-format-3.
4
-style=
Goog
le -i
file.c
clang-format-3.
8
-style=
fi
le -i
src/*.[ch] src/*/*.[ch] src/*/*/*.[ch] examples/main.c tests/*.[ch]
```
i.e. Google C++ formatting.
\ No newline at end of file
with the file matching the Google style with slight adjudtements.
\ No newline at end of file
This diff is collapsed.
Click to expand it.