summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/ScalarEvolution.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-16 17:01:55 +0000
committerDan Gohman <gohman@apple.com>2010-08-16 17:01:55 +0000
commit081ad68e687b24dd102ed890bae1e10d8d284cef (patch)
tree0f61c923644cc3759ac1bdb8854263de21efec9c /include/llvm/Analysis/ScalarEvolution.h
parent1895991a084d5d45d091a24542ad111946738e70 (diff)
downloadllvm-081ad68e687b24dd102ed890bae1e10d8d284cef.tar.gz
llvm-081ad68e687b24dd102ed890bae1e10d8d284cef.tar.bz2
llvm-081ad68e687b24dd102ed890bae1e10d8d284cef.tar.xz
Placate overzealous compiler warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/ScalarEvolution.h')
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index c2cfd385ce..31c9e7877e 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<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.