[llvm-commits] [llvm] r63706 - /llvm/trunk/include/llvm/Target/TargetAsmInfo.h

Chris Lattner sabre at nondot.org
Tue Feb 3 17:51:53 PST 2009


Author: lattner
Date: Tue Feb  3 19:51:53 2009
New Revision: 63706

URL: http://llvm.org/viewvc/llvm-project?rev=63706&view=rev
Log:
add a friend needed by a stringmap change.

Modified:
    llvm/trunk/include/llvm/Target/TargetAsmInfo.h

Modified: llvm/trunk/include/llvm/Target/TargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetAsmInfo.h?rev=63706&r1=63705&r2=63706&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetAsmInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetAsmInfo.h Tue Feb  3 19:51:53 2009
@@ -105,12 +105,14 @@
   class Section {
     friend class TargetAsmInfo;
     friend class StringMapEntry<Section>;
+    friend class StringMap<Section>;
 
     std::string Name;
     unsigned Flags;
-
     explicit Section(unsigned F = SectionFlags::Invalid):Flags(F) { }
+
   public:
+    
     bool isNamed() const { return Flags & SectionFlags::Named; }
     unsigned getEntitySize() const { return (Flags >> 24) & 0xFF; }
 





More information about the llvm-commits mailing list