[llvm-commits] [llvm] r111152 - /llvm/trunk/include/llvm/Analysis/ScalarEvolution.h
Dan Gohman
gohman at apple.com
Mon Aug 16 10:01:55 PDT 2010
Author: djg
Date: Mon Aug 16 12:01:55 2010
New Revision: 111152
URL: http://llvm.org/viewvc/llvm-project?rev=111152&view=rev
Log:
Placate overzealous compiler warnings.
Modified:
llvm/trunk/include/llvm/Analysis/ScalarEvolution.h
Modified: llvm/trunk/include/llvm/Analysis/ScalarEvolution.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScalarEvolution.h?rev=111152&r1=111151&r2=111152&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/ScalarEvolution.h (original)
+++ llvm/trunk/include/llvm/Analysis/ScalarEvolution.h Mon Aug 16 12:01:55 2010
@@ -46,14 +46,14 @@
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.
More information about the llvm-commits
mailing list