Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added .clang-format file for consistent formatting; added additional …
…doc warnings in doxyfile.lint

Signed-off-by: Peter Geurts <[email protected]>
  • Loading branch information
geurto authored and Jelmerdw committed Oct 30, 2025
commit 06729a891e1baf0179b64bcbf6008f34321d3b38
10 changes: 10 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Language: Cpp
BasedOnStyle: LLVM

SeparateDefinitionBlocks: Always
SortIncludes: true
IncludeBlocks: Regroup
KeepEmptyLines:
AtEndOfFile: false
AtStartOfBlock: false
AtStartOfFile: false
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ build/
.venv

# for LSP in neovim
**/compile_commands.json
.clangd/
7 changes: 5 additions & 2 deletions doxyfile.lint
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ RECURSIVE = YES
QUIET = YES

WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_NO_PARAMDOC = YES
WARN_IF_UNDOC_ENUM_VAL = YES

EXTRACT_PRIVATE = YES
EXTRACT_PRIV_VIRTUAL = YES
EXTRACT_PACKAGE = YES
EXTRACT_STATIC = YES
EXTRACT_LOCAL_CLASSES = YES

# If no output is generated, Doxygen seems to not fully parse documentation.
# This can lead to erroneous warnings that are not present if any type of output is generated.
Expand Down