Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use clang-format to format the whole codebase #278

Merged
merged 8 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Author: Steffen Vogel <[email protected]>
# SPDX-FileCopyrightText: 2024 OPAL-RT Germany GmbH
# SPDX-License-Identifier: MPL-2.0
---
BasedOnStyle: LLVM

# Disable automatic line-breaks in comments
# as this breaks SPDX headers
ReflowComments: false
18 changes: 16 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,19 @@
"runArgs": [
"--privileged",
"--security-opt=seccomp=unconfined"
]
}
],
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools",
"ms-python.python",
"ms-python.black-formatter",
"ms-python.flake8",
"xaver.clang-format",
"llvm-vs-code-extensions.vscode-clangd",
"editorconfig.editorconfig"
]
}
}
}
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Reformat all C++ code with clang-format
d75bf1e5bee08c6bb4c648cad0d89a494732c58e
7 changes: 0 additions & 7 deletions configs/dev-dataprocessing.sh

This file was deleted.

Loading
Loading