Implement DR21
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 25 Jun 2013 22:08:55 +0000 (22:08 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 25 Jun 2013 22:08:55 +0000 (22:08 +0000)
commitba8f17ac1037d1c554f906801e0d1fa6b009f22c
tree1fa10835817aba7e6f364fb7b3336ece132a8dc2
parent6e630d46d203fb0651c58d3a5607d49f234437ec
Implement DR21

A default template-argument shall not be specified in a friend template
declaration.

Interestingly, we properly handled default template arguments on friend
class members but not on just friend classes.

llvm-svn: 184882
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaTemplate.cpp
clang/test/CXX/drs/dr0xx.cpp
clang/www/cxx_dr_status.html