mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 19:44:38 +08:00
VMCoreTests/PassManagerTest.cpp: Appease msvc not to do "using llvm::Pass" in class template.
FIXME: I have not checked whether to be compiled on msvc11. llvm-svn: 169225
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user