diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-10-22 16:48:22 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-10-22 16:48:22 +0000 |
| commit | fb5e58415173b370de4dfc39e06355aea17c019d (patch) | |
| tree | edf932a15c68440c955b2e4d38fc5156d62fed48 /clang/lib/CodeGen/CGRTTI.cpp | |
| parent | 2fc373e1554cbf27c7ebb74886fb5c0f0f453ae7 (diff) | |
| download | bcm5719-llvm-fb5e58415173b370de4dfc39e06355aea17c019d.tar.gz bcm5719-llvm-fb5e58415173b370de4dfc39e06355aea17c019d.zip | |
More class anonymization.
llvm-svn: 117106
Diffstat (limited to 'clang/lib/CodeGen/CGRTTI.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGRTTI.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CGRTTI.cpp b/clang/lib/CodeGen/CGRTTI.cpp index 60c3a5f84b9..2659bd0821a 100644 --- a/clang/lib/CodeGen/CGRTTI.cpp +++ b/clang/lib/CodeGen/CGRTTI.cpp @@ -695,12 +695,14 @@ void RTTIBuilder::BuildSIClassTypeInfo(const CXXRecordDecl *RD) { Fields.push_back(BaseTypeInfo); } -/// SeenBases - Contains virtual and non-virtual bases seen when traversing -/// a class hierarchy. -struct SeenBases { - llvm::SmallPtrSet<const CXXRecordDecl *, 16> NonVirtualBases; - llvm::SmallPtrSet<const CXXRecordDecl *, 16> VirtualBases; -}; +namespace { + /// SeenBases - Contains virtual and non-virtual bases seen when traversing + /// a class hierarchy. + struct SeenBases { + llvm::SmallPtrSet<const CXXRecordDecl *, 16> NonVirtualBases; + llvm::SmallPtrSet<const CXXRecordDecl *, 16> VirtualBases; + }; +} /// ComputeVMIClassTypeInfoFlags - Compute the value of the flags member in /// abi::__vmi_class_type_info. |

