aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGRTTI.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-12-02 19:07:44 +0000
committerMike Stump <mrs@apple.com>2009-12-02 19:07:44 +0000
commit92f2fe2541c60d2130677a1613b0d5f257798b8f (patch)
treea4740502787bef68199dc416951dda558ade159f /lib/CodeGen/CGRTTI.cpp
parentde05057932cebc3f43911f87d75869cb7b705a19 (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/CGRTTI.cpp')
-rw-r--r--lib/CodeGen/CGRTTI.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CGRTTI.cpp b/lib/CodeGen/CGRTTI.cpp
index f52c6586d7..f43920c13f 100644
--- a/lib/CodeGen/CGRTTI.cpp
+++ b/lib/CodeGen/CGRTTI.cpp
@@ -17,6 +17,7 @@
using namespace clang;
using namespace CodeGen;
+namespace {
class RTTIBuilder {
CodeGenModule &CGM; // Per-module state.
llvm::LLVMContext &VMContext;
@@ -406,6 +407,7 @@ public:
}
}
};
+}
llvm::Constant *CodeGenModule::GenerateRTTIRef(const CXXRecordDecl *RD) {
RTTIBuilder b(*this);