Skip to content

fix: make signal handler more robust & fix clang-tidy issues#1166

Merged
ouuan merged 6 commits into
masterfrom
fix-clang-tidy
Apr 15, 2023
Merged

fix: make signal handler more robust & fix clang-tidy issues#1166
ouuan merged 6 commits into
masterfrom
fix-clang-tidy

Conversation

@ouuan

@ouuan ouuan commented Apr 9, 2023

Copy link
Copy Markdown
Member
  • Disable cppcoreguidelines-avoid-do-while
  • Use C++ 17 to fix bugprone-signal-handler

@ouuan ouuan changed the title chore: fix clang-tide chore: fix clang-tidy Apr 9, 2023
swiftqwq
swiftqwq previously approved these changes Apr 9, 2023
@ouuan

ouuan commented Apr 9, 2023

Copy link
Copy Markdown
Member Author

I'm not sure whether using C++17 is a real fix for bugprone-signal-handler. Maybe we really need to fix the signal handler 🤔

@ouuan

ouuan commented Apr 9, 2023

Copy link
Copy Markdown
Member Author

Maybe we should follow Calling Qt Functions From Unix Signal Handlers | Qt 5.15

@ouuan ouuan changed the title chore: fix clang-tidy fix: make signal handler more robust & fix clang-tidy issues Apr 9, 2023
@ouuan

ouuan commented Apr 9, 2023

Copy link
Copy Markdown
Member Author

Tested on Arch Linux only.

@ouuan ouuan merged commit 5ef969d into master Apr 15, 2023
@ouuan ouuan deleted the fix-clang-tidy branch April 15, 2023 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants