diff options
author | John McCall <rjmccall@apple.com> | 2009-08-28 07:59:38 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-08-28 07:59:38 +0000 |
commit | aa74a0c3b5a93777115ae07515a56020c78fabc7 (patch) | |
tree | 3102a3e4aeb178875cc67fcd49a135b9c18ffde0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 2a2459a291babcf4ec810229b0b62da2706fe02c (diff) | |
download | bcm5719-llvm-aa74a0c3b5a93777115ae07515a56020c78fabc7.tar.gz bcm5719-llvm-aa74a0c3b5a93777115ae07515a56020c78fabc7.zip |
Omnibus friend decl refactoring. Instead of cloning AST classes for friend
declarations of same, introduce a single AST class and add appropriate bits
(encoded in the namespace) for whether a decl is "real" or not. Much hackery
about previously-declared / not-previously-declared, but it's essentially
mandated by the standard that friends alter lookup, and this is at least
fairly non-intrusive.
Refactor the Sema methods specific to friends for cleaner flow and less nesting.
Incidentally solve a few bugs, but I remain confident that we can put them back.
llvm-svn: 80353
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions