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

Set clang-tidy header filter #30799

Merged
merged 1 commit into from
May 24, 2019

Conversation

jbytheway
Copy link
Contributor

Summary

SUMMARY: None

Purpose of change

The previous, more generous filter would report issues in SDL headers in some cases.

Describe the solution

Restrict to files in src or test, so as not to report problems in other files.

Describe alternatives you've considered

There are a couple of other headers (like tools/format/getpost.h) but I'm not worrying about those.

Additional context

This isn't great as-is. Depending on people's directory layout it could still report errors in SDL headers (e.g. if they're in ~/src/sdl or something like that) but short of renaming our src directory to something cata-specific, I think this is the best option for now.

The previous, more generous filter would report issues in SDL headers in
some cases.
@ZhilkinSerg ZhilkinSerg added the Code: Build Issues regarding different builds and build environments label May 24, 2019
@ZhilkinSerg ZhilkinSerg merged commit 58fdd83 into CleverRaven:master May 24, 2019
@jbytheway jbytheway deleted the clang_tidy_header_filter branch May 24, 2019 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code: Build Issues regarding different builds and build environments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants