Make this compatible with the HP/intel compiler. Fix by Duraid, thanks!
authorChris Lattner <sabre@nondot.org>
Fri, 14 Jan 2005 15:53:26 +0000 (15:53 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 14 Jan 2005 15:53:26 +0000 (15:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19548 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/PassManagerT.h

index 9cd38b9f3ea3c0b5b5cddb2648c55f5345af60c9..8b3425adc3bd2f75e3b035c07860bd67d7e9778e 100644 (file)
@@ -142,7 +142,7 @@ class PassManagerT : public PassManagerTraits<UnitType>,public AnalysisResolver{
   typedef typename Traits::BatcherClass BatcherClass;
   typedef typename Traits::ParentClass   ParentClass;
 
-#if defined(_MSC_VER) || defined(__INTEL_COMPILER)
+#if defined(_MSC_VER) || defined(__INTEL_COMPILER) || defined(__HP_aCC)
   friend PassClass;
   friend SubPassClass;
 #else