From d9a98de5c82c367764e99b7efda8847f872b079b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 4 Jun 2004 20:48:51 +0000 Subject: [PATCH] Ugh, apparently there is no common ground here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14026 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/PassManagerT.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/VMCore/PassManagerT.h b/lib/VMCore/PassManagerT.h index af5544cd98d..5d50e721939 100644 --- a/lib/VMCore/PassManagerT.h +++ b/lib/VMCore/PassManagerT.h @@ -142,8 +142,13 @@ class PassManagerT : public PassManagerTraits,public AnalysisResolver{ typedef typename Traits::BatcherClass BatcherClass; typedef typename Traits::ParentClass ParentClass; +#ifndef _MSC_VER friend class PassManagerTraits::PassClass; friend class PassManagerTraits::SubPassClass; +#else + friend PassClass; + friend SubPassClass; +#endif friend class PassManagerTraits; friend class ImmutablePass;