Преглед изворни кода

clang-format: suppress include main regex

Michele Caini пре 1 година
родитељ
комит
e0e3786089
1 измењених фајлова са 1 додато и 0 уклоњено
  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