We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Source code is
friend bool operator==(redecl_iterator x, redecl_iterator y) { return x.Current == y.Current; } friend bool operator!=(redecl_iterator x, redecl_iterator y) { return x.Current != y.Current; }
Maybe better code:
friend bool operator==( const redecl_iterator & x, const redecl_iterator & y) { return x.Current == y.Current; } friend bool operator!=( const redecl_iterator & x, const redecl_iterator & y) { return x.Current != y.Current; }
The text was updated successfully, but these errors were encountered:
@llvm/issue-subscribers-clang-frontend
Author: None (dcb314)
friend bool operator==( const redecl_iterator & x, const redecl_iterator & y) { return x.Current == y.Current; } friend bool operator!=( const redecl_iterator & x, const redecl_iterator & y) { return x.Current != y.Current; }
Sorry, something went wrong.
[Clang][NFC] use const references for function parameters in operator…
b48623c
…== and operator!= overloads in Redeclarable.h (#92963) Fixes #92755
b5d0eba
…== and operator!= overloads in Redeclarable.h (llvm#92963) Fixes llvm#92755
968343a
Successfully merging a pull request may close this issue.
Source code is
Maybe better code:
The text was updated successfully, but these errors were encountered: