diff options
author | Mike Stump <mrs@apple.com> | 2009-12-02 19:07:44 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-12-02 19:07:44 +0000 |
commit | 92f2fe2541c60d2130677a1613b0d5f257798b8f (patch) | |
tree | a4740502787bef68199dc416951dda558ade159f /lib/CodeGen/CGVtable.cpp | |
parent | de05057932cebc3f43911f87d75869cb7b705a19 (diff) |
Put the Builder classes into the anonymous namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
-rw-r--r-- | lib/CodeGen/CGVtable.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp index d7b8127546..146b96f75f 100644 --- a/lib/CodeGen/CGVtable.cpp +++ b/lib/CodeGen/CGVtable.cpp @@ -770,7 +770,6 @@ public: delete Path; } }; - } /// TypeConversionRequiresAdjustment - Returns whether conversion from a @@ -1109,6 +1108,7 @@ llvm::Constant *CodeGenModule::GenerateVtable(const CXXRecordDecl *LayoutClass, return vtable; } +namespace { class VTTBuilder { /// Inits - The list of values built for the VTT. std::vector<llvm::Constant *> &Inits; @@ -1271,6 +1271,7 @@ public: VirtualVTTs(Class); } }; +} llvm::Constant *CodeGenModule::GenerateVTT(const CXXRecordDecl *RD) { // Only classes that have virtual bases need a VTT. |