Skip to content

Commit

Permalink
Bug 568079: Reformat source code using clang-format
Browse files Browse the repository at this point in the history
This will enforce formatting when building the native code

Change-Id: I6c047f4c0672609df322b7ba716fc786f0e3aab4
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
  • Loading branch information
T-Svensson authored and jonahgraham committed Nov 1, 2020
1 parent 7f10dce commit 6431307
Show file tree
Hide file tree
Showing 46 changed files with 2,965 additions and 3,763 deletions.
12 changes: 12 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
BasedOnStyle: LLVM

# Set column width to 120
ColumnLimit: 120

# Sorting include statements will put "windows.h" last and result in build error.
# To avoid unpredictable build errors, disable sorting.
SortIncludes: false

# Use 4 spaces as indentation
IndentWidth: 4
UseTab: Never
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ test_commands text

# Other special files
cdtOptions text
.clang-format text
.contentsettings text
*.csv text
*.dia binary
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified core/org.eclipse.cdt.core.macosx/os/macosx/x86/libspawner.jnilib
Binary file not shown.
Binary file not shown.
189 changes: 0 additions & 189 deletions core/org.eclipse.cdt.core.native/.settings/org.eclipse.cdt.core.prefs

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6431307

Please sign in to comment.