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 regex to ignore headers from submodules for clang-tidy #308

Merged
merged 6 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Checks: 'bugprone-*,
-readability-function-cognitive-complexity,
-readability-function-size'
WarningsAsErrors: ''
HeaderFilterRegex: '.*'
HeaderFilterRegex: 'PeleLMeX\/Source|PeleLMeX\/Exec|PeleLMeX\/Submodules\/PelePhysics'
AnalyzeTemporaryDtors: false
FormatStyle: none
User: user
Expand Down
2 changes: 2 additions & 0 deletions Exec/RegTests/FlameSheet/pelelmex_prob.H
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#include <PMFData.H>
#include <PelePhysics.H>

#define SHOULD_MAKE_AN_ERROR -6

AMREX_GPU_DEVICE
AMREX_FORCE_INLINE
void
Expand Down
2 changes: 2 additions & 0 deletions Source/PeleLMeX_Index.H
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef PELELM_INDEX_H
#define PELELM_INDEX_H

#define TRASH_NUMBER -6

#define VELX 0
#define VELY 1
#define VELZ 2
Expand Down
2 changes: 1 addition & 1 deletion Submodules/PelePhysics
Submodule PelePhysics updated 1 files
+2 −0 Eos/EOS.H