summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclFriend.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Support C++ friend declarations for PCH.Argyrios Kyrtzidis2010-06-291-0/+4
| | | | | | | | | | | | This commit 'introduces' a slightly different way to restore the state of the AST object. It makes PCHDeclReader/PCHDeclWriter friends and gives them access to the private members of the object. The rationale is to avoid using/modifying the AST interfaces for PCH read/write so that to: -Avoid complications with objects that have side-effects during creation or when using some setters. -Not 'pollute' the AST interface with methods only used by the PCH reader/writer -Allow AST objects to be read-only. llvm-svn: 107219
* Implement basic support for friend types and functions in non-dependentJohn McCall2010-03-121-1/+3
| | | | | | contexts. llvm-svn: 98321
* Split C++ friend declarations into their own header/implementation file.John McCall2010-03-111-0/+39
I'm expecting this portion of the AST to grow and change, and I'd like to be able to do that with minimal recompilation. If this proves unnecessary when access control is fully-implemented, I'll fold the classes back into DeclCXX.h. llvm-svn: 98249
OpenPOWER on IntegriCloud