.clang-format 640 B

1234567891011121314151617181920212223242526
  1. BasedOnStyle: Google
  2. UseTab: Never
  3. IndentWidth: 2
  4. ColumnLimit: 80
  5. # Force pointers to the type for C++.
  6. DerivePointerAlignment: false
  7. PointerAlignment: Left
  8. # Reordering #include statements can (and currently will) introduce errors
  9. SortIncludes: false
  10. # Style choices
  11. AlignConsecutiveAssignments: false
  12. AlignConsecutiveDeclarations: false
  13. IndentPPDirectives: BeforeHash
  14. IncludeCategories:
  15. - Regex: '^<'
  16. Priority: 4
  17. - Regex: '^"(llvm|llvm-c|clang|clang-c|mlir|mlir-c)/'
  18. Priority: 3
  19. - Regex: '^"(qoda|\.\.)/'
  20. Priority: 2
  21. - Regex: '.*'
  22. Priority: 1