[llvm-commits] [llvm] r55747 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp

Dan Gohman gohman at apple.com
Wed Sep 3 16:18:39 PDT 2008


Author: djg
Date: Wed Sep  3 18:18:39 2008
New Revision: 55747

URL: http://llvm.org/viewvc/llvm-project?rev=55747&view=rev
Log:
Put RegsForValue in the llvm namespace to avoid warnings about
classes in the llvm namespace having members with types from
anonymous namespaces.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp?rev=55747&r1=55746&r2=55747&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp Wed Sep  3 18:18:39 2008
@@ -121,7 +121,7 @@
     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,





More information about the llvm-commits mailing list