summaryrefslogtreecommitdiff
path: root/include/.clang-format
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-10-29 13:59:28 +0800
committerGitHub <noreply@github.com>2024-10-29 13:59:28 +0800
commita729c15e9dce9f5116a38afc66329ab2ca4cea54 (patch)
tree9580072eb0d796b51c04ad5be95230a747709150 /include/.clang-format
parenta15d770242f88aa4b33cd7d3a97de9c8d86a2315 (diff)
preparation for clang format (#5422)
* Clang-format excludes * Add .clang-format * Don't clang-format in external * Missing includes and forward declarations * Replace wonky include-once macro name * neaten include naming * Add clang-format to formatting script * Add xargs and diff to required binaries * add clang-format to ci formatting check * Add max version check to formatting script * temporarily disable checking formatting for cpp files
Diffstat (limited to 'include/.clang-format')
-rw-r--r--include/.clang-format2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/.clang-format b/include/.clang-format
new file mode 100644
index 000000000..12ac8862d
--- /dev/null
+++ b/include/.clang-format
@@ -0,0 +1,2 @@
+BasedOnStyle: InheritParentConfig
+IndentPPDirectives: BeforeHash