summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx-friend.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve handling of friend types in several ways:Douglas Gregor2010-04-071-3/+3
| | | | | | | | | | | - 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
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* fix a crash on invalid I found when working on something unrelated.Chris Lattner2009-12-071-0/+8
| | | | llvm-svn: 90729
* Rework the Parse-Sema interaction for friends to better support friendDouglas Gregor2009-09-261-2/+2
| | | | | | | | | class templates. We now treat friend class templates much more like normal class templates, except that they still get special name lookup rules. Fixes PR5057 and eliminates a bunch of spurious diagnostics in <iostream>. llvm-svn: 82848
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-1/+1
| | | | llvm-svn: 81346
* First pass at friend semantics.John McCall2009-08-061-2/+17
| | | | llvm-svn: 78274
* For friend class decls, always use TK_Reference so we'll try to look up ↵Anders Carlsson2009-05-111-0/+12
| | | | | | existing class decls first. llvm-svn: 71481
* Add parsing of friend specifiers.Anders Carlsson2009-05-061-0/+5
llvm-svn: 71067
OpenPOWER on IntegriCloud