diff options
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/VMCore/PassManagerTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/VMCore/PassManagerTest.cpp b/unittests/VMCore/PassManagerTest.cpp index 3219042..b5015d1 100644 --- a/unittests/VMCore/PassManagerTest.cpp +++ b/unittests/VMCore/PassManagerTest.cpp @@ -148,8 +148,10 @@ namespace llvm { template<typename T, typename P> struct PassTest : public PassTestBase<P> { public: +#ifndef _MSC_VER // MSVC complains that Pass is not base class. using llvm::Pass::doInitialization; using llvm::Pass::doFinalization; +#endif virtual bool doInitialization(T &t) { EXPECT_FALSE(PassTestBase<P>::initialized); PassTestBase<P>::initialized = true; |