From 081ad68e687b24dd102ed890bae1e10d8d284cef Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 16 Aug 2010 17:01:55 +0000 Subject: [PATCH] Placate overzealous compiler warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111152 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/ScalarEvolution.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index c2cfd385ce1..31c9e7877e5 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -46,14 +46,14 @@ namespace llvm { class Operator; class SCEVUnknown; class SCEV; - template<> class FoldingSetTrait; + template<> struct FoldingSetTrait; /// 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; + friend struct FoldingSetTrait; /// FastID - A reference to an Interned FoldingSetNodeID for this node. /// The ScalarEvolution's BumpPtrAllocator holds the data. -- 2.34.1