Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ HeaderFilterRegex: '.*/(thrust|cub|cuda|nv|cccl|c2h|cudastf|test)/.*'
ExtraArgsBefore:
# To match _CCCL_DOXYGEN_INVOKED
- '-D_CCCL_CLANG_TIDY_INVOKED=1'
- '-DCCCL_ENABLE_ASSERTIONS=1'
- '-ftemplate-backtrace-limit=0'
- '-fmacro-backtrace-limit=0'
ExtraArgs:
Expand Down
1 change: 1 addition & 0 deletions cmake/run_clang_tidy.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ set -x
--quiet \
--extra-arg='-Wno-error=unused-command-line-argument' \
--extra-arg='-D_CCCL_CLANG_TIDY_INVOKED=1' \
--extra-arg='-DCCCL_ENABLE_ASSERTIONS=1' \
-p '@CMAKE_BINARY_DIR@' \
@CCCL_CLANG_TIDY_PLUGINS@ \
"${clang_tidy_args[@]}" \
Expand Down
Loading