BasedOnStyle: Google
DerivePointerAlignment: false
SortIncludes: true
IncludeCategories:
    - Regex: '^"g2o/.*"$'
      Priority: 100

# Starting from clang-format v19 we need to specify those
AttributeMacros: [
  G2O_CSPARSE_EXTENSION_API, G2O_SOLVER_CSPARSE_API,
  G2O_STUFF_API, G2O_CORE_API,
  G2O_TYPES_DATA_API,
  G2O_TYPES_SLAM2D_API, G2O_TYPES_SLAM2D_ADDONS_API,
  G2O_TYPES_SLAM3D_API, G2O_TYPES_SLAM3D_ADDONS_API,
  G2O_TYPES_ICP_API, G2O_TYPES_SBA_API,
  G2O_TYPES_SIM3_API, G2O_TYPES_SCLAM2D_API,
  G2O_SLAM2D_LINEAR_API,
  G2O_SIMULATOR_API
  G2O_CLI_API, G2O_VIEWER_API
]
