Skip to content

Conversation

@firewave
Copy link
Collaborator

This is implemented in Cppcheck and simplecpp but their behavior differs. So this places a single (and improved) implementation in simplecpp for both to use.

numberOfFailedAssertions++;
std::cerr << "------ assertion failed ---------" << std::endl;
std::cerr << "line " << line << std::endl;
std::cerr << "line test.cpp:" << line << std::endl;
Copy link
CollaboratorAuthor

@firewavefirewaveSep 10, 2025

Choose a reason for hiding this comment

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

This allows some IDEs to show a clickable link making it easier to navigate to the failure.

Copy link
Owner

Choose a reason for hiding this comment

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

sounds good

@firewavefirewave changed the title exposed and improved isAbsolutePath()improved and exposed isAbsolutePath()Sep 10, 2025
@firewavefirewave merged commit 5b736f2 into danmar:masterOct 1, 2025
16 checks passed
@firewavefirewave deleted the abspath branch October 1, 2025 15:37
Sign up for freeto 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.

2 participants

@firewave@danmar