From: Dan Gohman Date: Mon, 16 Aug 2010 17:01:55 +0000 (+0000) Subject: Placate overzealous compiler warnings. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=081ad68e687b24dd102ed890bae1e10d8d284cef;p=oota-llvm.git Placate overzealous compiler warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111152 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.