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
Collaborator Author

@firewave firewave Sep 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.

@firewave firewave changed the title exposed and improved isAbsolutePath() improved and exposed isAbsolutePath() Sep 10, 2025
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.

1 participant