From 79ba2a6379f87fa137377c3f55ff993b9e5cc144 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 22 Oct 2010 16:48:22 +0000 Subject: More class anonymization. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117106 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGExprCXX.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/CodeGen/CGExprCXX.cpp') diff --git a/lib/CodeGen/CGExprCXX.cpp b/lib/CodeGen/CGExprCXX.cpp index bc4059593f..478b95ae39 100644 --- a/lib/CodeGen/CGExprCXX.cpp +++ b/lib/CodeGen/CGExprCXX.cpp @@ -688,6 +688,7 @@ static void EmitNewInitializer(CodeGenFunction &CGF, const CXXNewExpr *E, StoreAnyExprIntoOneUnit(CGF, E, NewPtr); } +namespace { /// A utility class for saving an rvalue. class SavedRValue { public: @@ -727,6 +728,7 @@ public: Kind getKind() const { return K; } llvm::Value *getValue() const { return Value; } }; +} // end anonymous namespace /// Given an r-value, perform the code necessary to make sure that a /// future RestoreRValue will be able to load the value without -- cgit v1.2.3