Skip to content
Merged
Changes from all commits
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
4 changes: 4 additions & 0 deletions exports/lint-configs/.clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ CheckOptions:
# them. Instead, we explicitly specify all rules (except those that should have reasonable
# defaults, e.g., `""` for `ClassPrefix`).

# This is necessary for code that can only use macros to achieve certain functionality, like
# Catch2's `REQUIRE` and ystdlib's `YSTDLIB_ERROR_HANDLING_TRYX`.
readability-function-cognitive-complexity.IgnoreMacros: true

# Macro naming rules
readability-identifier-naming.MacroDefinitionCase: "UPPER_CASE"

Expand Down