Add .clang-format

This tells clang-format what kind of style we want to format as, see
https://clang.llvm.org/docs/ClangFormatStyleOptions.html.

Set it based on Google style. We can iterate on details in the
future.
This commit is contained in:
Arthur Eubanks
2025-04-23 20:30:25 -07:00
committed by teejusb
parent 4ae1b79578
commit c207d9e0a8
+7
View File
@@ -0,0 +1,7 @@
BasedOnStyle: Google
AlignAfterOpenBracket: AlwaysBreak
DerivePointerAlignment: false
PointerAlignment: Left
QualifierAlignment: Left
ReferenceAlignment: Left
InsertBraces: true