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 | ae1b85d984af5fbf4010830ae52cbb721bfad9ba (patch) | |
tree | 4b1397afab38a6a108894feafd13e365311eece0 /clang/lib/CodeGen/CGVtable.cpp | |
parent | c01c2b87e83aa3083f0d7eccda0e9c1dbc4ad2f4 (diff) | |
download | bcm5719-llvm-ae1b85d984af5fbf4010830ae52cbb721bfad9ba.tar.gz bcm5719-llvm-ae1b85d984af5fbf4010830ae52cbb721bfad9ba.zip |
Put the Builder classes into the anonymous namespace.
llvm-svn: 90335
Diffstat (limited to 'clang/lib/CodeGen/CGVtable.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGVtable.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGVtable.cpp b/clang/lib/CodeGen/CGVtable.cpp index d7b81275460..146b96f75f8 100644 --- a/clang/lib/CodeGen/CGVtable.cpp +++ b/clang/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. |