Skip to content

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

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

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

Conversation

@ouuan
Copy link
Copy Markdown
Member

@ouuan ouuan commented Apr 9, 2023

  • 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
Copy link
Copy Markdown
Member Author

ouuan commented Apr 9, 2023

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
Copy link
Copy Markdown
Member Author

ouuan commented Apr 9, 2023

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
Copy link
Copy Markdown
Member Author

ouuan commented Apr 9, 2023

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