mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Work correctly with MSVC and ICC, patch contributed by Bjørn Wennberg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18631 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fe781654a3
commit
1d875b854c
@ -142,12 +142,12 @@ class PassManagerT : public PassManagerTraits<UnitType>,public AnalysisResolver{
|
||||
typedef typename Traits::BatcherClass BatcherClass;
|
||||
typedef typename Traits::ParentClass ParentClass;
|
||||
|
||||
#ifndef _MSC_VER
|
||||
friend class PassManagerTraits<UnitType>::PassClass;
|
||||
friend class PassManagerTraits<UnitType>::SubPassClass;
|
||||
#else
|
||||
#if defined(_MSC_VER) || defined(__INTEL_COMPILER)
|
||||
friend PassClass;
|
||||
friend SubPassClass;
|
||||
#else
|
||||
friend class PassManagerTraits<UnitType>::PassClass;
|
||||
friend class PassManagerTraits<UnitType>::SubPassClass;
|
||||
#endif
|
||||
friend class PassManagerTraits<UnitType>;
|
||||
friend class ImmutablePass;
|
||||
|
Loading…
Reference in New Issue
Block a user