summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/friend-definition.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Diagnose friend function template redefinitions.Serge Pavlov2018-12-061-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 definitionRichard Smith2018-03-011-0/+39
if the other definition is a merged copy of the same function. llvm-svn: 326496
OpenPOWER on IntegriCloud