What style guide to use with clang-format?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • cmake-init

    The missing CMake project initializer

  • I use my own (also clang-tidy) and I carefully thought about all the options that went into it.

  • nanobench

    Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20

  • My suggestion is start with the built in style that you like best, then change whatever annoys you. For me that's LLVM with a few modifications: https://github.com/martinus/nanobench/blob/master/src/include/.clang-format

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts