-
Notifications
You must be signed in to change notification settings - Fork 43
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
use regex to ignore headers from submodules for clang-tidy #308
Conversation
I hate to ask but... are you confident this works? I was using this at some point: |
I did test, but not for Exec. I added that to the regex, as well as dummy code that should introduce warnings with Source, Exec, and PelePhysics to verify that these get caught. Presuming the clang-tidy tests here fail with the correct 3 warnings, I think this is ready to go (after removing the dummy code) |
nicely done! We need this for PeleC as well. Can you remove the grep now from the CI file? Also, does this make things faster? |
There isn't a significant impact on runtime, the main advantage is just getting 200MB of junk out of the log files The grep is still needed because a handful of warnings still come through from AMReX
|
Right now we get a ton of clang-tidy warnings from sundials and amrex and just use grep to filter them out, but sometimes things get garbled and that fails.