Skip to content

Commit

Permalink
clang-format: enable SortIncludes
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Dec 18, 2018
1 parent b9ce2cb commit db59dfa
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ MaxEmptyLinesToKeep: 2
PointerBindsToType: Middle
SpacesBeforeTrailingComments: 4
UseTab: Never
SortIncludes: false
SortIncludes: true

AlwaysBreakTemplateDeclarations: true
2 changes: 1 addition & 1 deletion src/boehm_gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
#endif

#ifdef HPCGAP
#include "hpc/guards.h"
#include "hpc/misc.h"
#include "hpc/thread.h"
#include "hpc/guards.h"
#endif

static inline Bag * DATA(BagHeader * bag)
Expand Down
4 changes: 2 additions & 2 deletions src/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

#include "system.h"

#include "compiled.h"
#include "hookintrprtr.h"
#include "calls.h"
#include "compiled.h"
#include "fibhash.h"
#include "hookintrprtr.h"

#ifdef HPCGAP
#include "hpc/region.h"
Expand Down
2 changes: 1 addition & 1 deletion src/exprs.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
#include "error.h"
#include "gapstate.h"
#include "gvars.h"
#include "hookintrprtr.h"
#include "integer.h"
#include "io.h"
#include "hookintrprtr.h"
#include "lists.h"
#include "modules.h"
#include "opers.h"
Expand Down
4 changes: 2 additions & 2 deletions src/gap.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
#include "modules.h"
#include "plist.h"
#include "precord.h"
#include "records.h"
#include "read.h"
#include "records.h"
#include "saveload.h"
#include "stats.h" // for ClearError
#include "stats.h" // for ClearError
#include "streams.h"
#include "stringobj.h"
#include "sysenv.h"
Expand Down
2 changes: 1 addition & 1 deletion src/hpc/aobjects.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include "calls.h"
#include "error.h"
#include "fibhash.h"
#include "gaputils.h"
#include "gapstate.h"
#include "gaputils.h"
#include "gvars.h"
#include "io.h"
#include "lists.h"
Expand Down
2 changes: 1 addition & 1 deletion src/julia_gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
**/

#include "code.h"
#include "fibhash.h"
#include "funcs.h"
#include "gapstate.h"
#include "gasman.h"
Expand All @@ -23,7 +24,6 @@
#include "sysmem.h"
#include "system.h"
#include "vars.h"
#include "fibhash.h"

#include <stdio.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion src/modules.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
#include "compstat.h"
#include "error.h"
#include "funcs.h"
#include "integer.h"
#include "gap.h"
#include "gapstate.h"
#include "gvars.h"
#include "integer.h"
#include "intobj.h"
#include "io.h"
#include "lists.h"
Expand Down
2 changes: 1 addition & 1 deletion src/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
#include "bool.h"
#include "calls.h"
#include "code.h"
#include "funcs.h"
#include "error.h"
#include "funcs.h"
#include "hookintrprtr.h"
#include "io.h"
#include "lists.h"
Expand Down
2 changes: 1 addition & 1 deletion src/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#include "scanner.h"
#include "stats.h"
#include "stringobj.h"
#include "vars.h"
#include "sysopt.h"
#include "vars.h"

#ifdef HPCGAP
#include "hpc/thread.h"
Expand Down
2 changes: 1 addition & 1 deletion src/streams.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
#include "gap.h"
#include "gapstate.h"
#include "gvars.h"
#include "io.h"
#include "lists.h"
#include "modules.h"
#include "io.h"
#include "opers.h"
#include "plist.h"
#include "precord.h"
Expand Down
2 changes: 1 addition & 1 deletion src/vecffe.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#include "vecffe.h"

#include "ariths.h"
#include "calls.h"
#include "bool.h"
#include "calls.h"
#include "error.h"
#include "finfield.h"
#include "gvars.h"
Expand Down

0 comments on commit db59dfa

Please sign in to comment.