Warn when a template class declares a dependent friend function [-Wnon-template-friend] #23716
Labels
bugzilla
Issues migrated from bugzilla
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
Extended Description
The out-of-line friend declaration is very likely broken because the declaration is not part of the template. GCC has a
-Wnon-template-friend
warning that finds this.The text was updated successfully, but these errors were encountered: