Sfoglia il codice sorgente

clang-format: suppress include main regex

Michele Caini 1 anno fa
parent
commit
e0e3786089
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      .clang-format

+ 1 - 0
.clang-format

@@ -23,6 +23,7 @@ IncludeCategories:
     Priority: 4
   - Regex: '.*'
     Priority: 5
+IncludeIsMainRegex: "^$"
 IndentPPDirectives: AfterHash
 IndentWidth: 4
 KeepEmptyLinesAtTheStartOfBlocks: false