From 047b5336305eef7e868ee532b6d6820d675cc93c Mon Sep 17 00:00:00 2001 From: Bruce Perry <53018946+baperry2@users.noreply.github.com> Date: Fri, 17 Nov 2023 15:00:14 -0700 Subject: [PATCH] use regex to ignore headers from submodules for clang-tidy (#308) * use regex to ignore headers from submodules * add Exec to clang-tidy regex * test clang-tidy breaking changes * Revert "test clang-tidy breaking changes" This reverts commit 3f6862db7ac81ae76ef7e6f640ca4b5822c2146a. * let regex capture all Pele* submodules, not just PelePhysics --------- Co-authored-by: Bruce Perry Co-authored-by: Bruce Perry Co-authored-by: Bruce Perry Co-authored-by: Bruce Perry --- .clang-tidy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index f887de47..aa9a8f1b 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -21,7 +21,7 @@ Checks: 'bugprone-*, -readability-function-cognitive-complexity, -readability-function-size' WarningsAsErrors: '' -HeaderFilterRegex: '.*' +HeaderFilterRegex: 'PeleLMeX\/Source|PeleLMeX\/Exec|PeleLMeX\/Submodules\/Pele' AnalyzeTemporaryDtors: false FormatStyle: none User: user