summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/class.access/class.friend/p3-cxx0x.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Diagnose invalid cv-qualifiers for friend decls.Eli Friedman2018-08-031-2/+13
| | | | | | Differential Revision: https://reviews.llvm.org/D45712 llvm-svn: 338931
* Issue a diagnostic if we see a templated friend declaration that we do notRichard Smith2013-11-081-3/+10
| | | | | | support. llvm-svn: 194273
* Don't check whether a friend declaration is correctly formed when instantiating,Nick Lewycky2013-02-061-0/+7
| | | | | | we already checked it when parsing. llvm-svn: 174486
* Per C++11 [class.friend]p3, the 'friend' keyword must appear first in aRichard Smith2012-09-201-0/+26
| | | | | | non-function friend declaration. Patch by Josh Magee! llvm-svn: 164273
* Update all tests other than Driver/std.cpp to use -std=c++11 rather thanRichard Smith2011-10-131-1/+1
| | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
* Improve handling of friend types in several ways:Douglas Gregor2010-04-071-0/+29
- When instantiating a friend type template, perform semantic analysis on the resulting type. - Downgrade the errors concerning friend type declarations that do not refer to classes to ExtWarns in C++98/03. C++0x allows practically any type to be befriended, and ignores the friend declaration if the type is not a class. llvm-svn: 100635
OpenPOWER on IntegriCloud