forked from OSchip/llvm-project
Add some extra friend declarations to fix a gcc-4.0 compile error.
This is a temporary fix, until more elaborate changes are ready. llvm-svn: 109593
This commit is contained in:
parent
86e761052a
commit
44ee74292f
|
@ -44,6 +44,7 @@ namespace llvm {
|
|||
class Loop;
|
||||
class LoopInfo;
|
||||
class Operator;
|
||||
class SCEVUnknown;
|
||||
|
||||
/// SCEV - This class represents an analyzed expression in the program. These
|
||||
/// are opaque objects that the client is not allowed to do much with
|
||||
|
@ -175,6 +176,7 @@ namespace llvm {
|
|||
|
||||
friend class SCEVCallbackVH;
|
||||
friend class SCEVExpander;
|
||||
friend class SCEVUnknown;
|
||||
|
||||
/// F - The function we are analyzing.
|
||||
///
|
||||
|
|
|
@ -522,6 +522,7 @@ namespace llvm {
|
|||
///
|
||||
class SCEVUnknown : public SCEV {
|
||||
friend class ScalarEvolution;
|
||||
friend class ScalarEvolution::SCEVCallbackVH;
|
||||
|
||||
// This should be an AssertingVH, however SCEVUnknowns are allocated in a
|
||||
// BumpPtrAllocator so their destructors are never called.
|
||||
|
|
Loading…
Reference in New Issue