summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprCXX.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-10-22 16:48:22 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-10-22 16:48:22 +0000
commitfb5e58415173b370de4dfc39e06355aea17c019d (patch)
treeedf932a15c68440c955b2e4d38fc5156d62fed48 /clang/lib/CodeGen/CGExprCXX.cpp
parent2fc373e1554cbf27c7ebb74886fb5c0f0f453ae7 (diff)
downloadbcm5719-llvm-fb5e58415173b370de4dfc39e06355aea17c019d.tar.gz
bcm5719-llvm-fb5e58415173b370de4dfc39e06355aea17c019d.zip
More class anonymization.
llvm-svn: 117106
Diffstat (limited to 'clang/lib/CodeGen/CGExprCXX.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprCXX.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGExprCXX.cpp b/clang/lib/CodeGen/CGExprCXX.cpp
index bc4059593f5..478b95ae399 100644
--- a/clang/lib/CodeGen/CGExprCXX.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud