summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-09-03 23:18:39 +0000
committerDan Gohman <gohman@apple.com>2008-09-03 23:18:39 +0000
commit45df9951f55ff46b70f1bb0120dec7bb7de2a0d5 (patch)
tree1c63a492c8696ab5133bb4dc6b99314fddec3d37 /llvm/lib
parent7bda51f5a449330c11fc9954776ca4fd1bd9fc56 (diff)
downloadbcm5719-llvm-45df9951f55ff46b70f1bb0120dec7bb7de2a0d5.tar.gz
bcm5719-llvm-45df9951f55ff46b70f1bb0120dec7bb7de2a0d5.zip
Put RegsForValue in the llvm namespace to avoid warnings about
classes in the llvm namespace having members with types from anonymous namespaces. llvm-svn: 55747
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index 3bbcdc99b55..70bf549dcc7 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@ -121,7 +121,7 @@ static void ComputeValueVTs(const TargetLowering &TLI, const Type *Ty,
Offsets->push_back(StartingOffset);
}
-namespace {
+namespace llvm {
/// RegsForValue - This struct represents the registers (physical or virtual)
/// that a particular set of values is assigned, and the type information about
/// the value. The most common situation is to represent one value at a time,
OpenPOWER on IntegriCloud