Skip to content

Conversation

@firewave
Copy link
Collaborator

No description provided.

@firewave
Copy link
Collaborator Author

CC @glankk

@firewave firewave marked this pull request as draft October 20, 2025 15:34
@firewave
Copy link
Collaborator Author

This affects the implementation in Cppcheck. Still working on integrating it.

Comment on lines -82 to +86

Location &operator=(const Location &other) {
if (this != &other) {
fileIndex = other.fileIndex;
line = other.line;
col = other.col;
}
return *this;
}
Location &operator=(const Location &other) = default;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was lacking the assignment of files. I have no idea how that could have ever been a valid object - beside the fact that containing a reference is even problematic to begin with.

@firewave
Copy link
Collaborator Author

Should not be merged before we post a release with the MinGW fixes.

I also want to get in some preprocessor cleanups on the Cppcheck side first.

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