Skip to content

Conversation

@ludviggunne
Copy link
Collaborator

No description provided.

@sonarqubecloud
Copy link

if (parent && parent->previous() && isStaticAssert(*mSettings, parent->previous())) {
if (parent && parent->previous() &&
(isStaticAssert(*mSettings, parent->previous()) ||
Token::simpleMatch(parent->previous(), "assert"))) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Out of scope for this PR, but I wonder if we should have something like entrypoints for this so we can support custom asserts via library files.

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