Placate overzealous compiler warnings.
authorDan Gohman <gohman@apple.com>
Mon, 16 Aug 2010 17:01:55 +0000 (17:01 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 16 Aug 2010 17:01:55 +0000 (17:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111152 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/ScalarEvolution.h

index c2cfd385ce122dd14e8d6df7f7ea86902d00e92f..31c9e7877e56dbcc5aff728de0e7013def9d4b77 100644 (file)
@@ -46,14 +46,14 @@ namespace llvm {
   class Operator;
   class SCEVUnknown;
   class SCEV;
-  template<> class FoldingSetTrait<SCEV>;
+  template<> struct FoldingSetTrait<SCEV>;
 
   /// SCEV - This class represents an analyzed expression in the program.  These
   /// are opaque objects that the client is not allowed to do much with
   /// directly.
   ///
   class SCEV : public FoldingSetNode {
-    friend class FoldingSetTrait<SCEV>;
+    friend struct FoldingSetTrait<SCEV>;
 
     /// FastID - A reference to an Interned FoldingSetNodeID for this node.
     /// The ScalarEvolution's BumpPtrAllocator holds the data.