diff options
| author | Francois Pichet <pichet2000@gmail.com> | 2011-05-31 11:44:00 +0000 |
|---|---|---|
| committer | Francois Pichet <pichet2000@gmail.com> | 2011-05-31 11:44:00 +0000 |
| commit | 8adc227de934e23c72eb8d9abf5c0e3dfffec131 (patch) | |
| tree | 3a4272584e5463a2671bed9d408c766b3880ff03 /lib/CodeGen/CodeGenModule.cpp | |
| parent | 8155910a192dafa423d6b932b7d127d48e4641e8 (diff) | |
| download | clang-8adc227de934e23c72eb8d9abf5c0e3dfffec131.tar.gz clang-8adc227de934e23c72eb8d9abf5c0e3dfffec131.tar.bz2 clang-8adc227de934e23c72eb8d9abf5c0e3dfffec131.tar.xz | |
For compatibility with MSVC, a friend declaration also act as a forward declaration if the tag name is not already declared. The tag name is declared in the next outermost non record scope.
Example:
class A {
friend class B;
B* b;
};
B* global_b;
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132332 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
