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

Change TR_ASSERT_FATAL to static_assert in TR_AliasSetInterface #7327

Closed

Conversation

ChungHsuanChen
Copy link
Contributor

This patch elimates use of TR_ASSERT_FATAL to static assert in AliasSetInterface.hpp

Issue: #4933

This patch elimates use of TR_ASSERT_FATAL to static assert in AliasSetInterface.hpp

Issue: eclipse#4933
@@ -24,6 +24,7 @@

#include <stddef.h>
#include <stdint.h>
#include <cassert>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

static_assert is a keyword and does not require an include

@0xdaryl 0xdaryl self-assigned this May 28, 2024
@0xdaryl
Copy link
Contributor

0xdaryl commented May 28, 2024

Also, please fix spelling in your commit body message. Perhaps reword to:

Replace some uses of TR_ASSERT_FATAL with static_assert in AliasSetInterface.hpp

ChungHsuanChen and others added 2 commits June 1, 2024 10:42
@ChungHsuanChen
Copy link
Contributor Author

Sorry, I will request new PR

@ChungHsuanChen
Copy link
Contributor Author

Close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants