Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Diagnose friend function template redefinitions. | Serge Pavlov | 2018-12-06 | 1 | -0/+2 |
| | | | | | | | | | | | | | | Friend function template defined in a class template becomes available if the enclosing class template is instantiated. Until the function template is used, it does not have a body, but still is considered a definition for the purpose of redeclaration checks. This change modifies redefinition check so that it can find the friend function template definitions in instantiated classes. Differential Revision: http://reviews.llvm.org/D21508 llvm-svn: 348473 | ||||
* | [modules] Don't diagnose "redefinition" of a friend with a pending definition | Richard Smith | 2018-03-01 | 1 | -0/+39 |
if the other definition is a merged copy of the same function. llvm-svn: 326496 |