Put RegsForValue in the llvm namespace to avoid warnings about
authorDan Gohman <gohman@apple.com>
Wed, 3 Sep 2008 23:18:39 +0000 (23:18 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 3 Sep 2008 23:18:39 +0000 (23:18 +0000)
classes in the llvm namespace having members with types from
anonymous namespaces.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55747 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp

index 3bbcdc99b55e201ff1d3f94d36145b756541061c..70bf549dcc730d37df4fc58061760ec49d322233 100644 (file)
@@ -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,