From 62281a132f11e742a96ff9caeaaaa17900020acd Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Wed, 4 Jan 2006 17:21:23 +0000 Subject: [PATCH] Be consistent in using class vs struct to make VC++ happy. And as it contains methods, virtual method even, class wins. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25098 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Pass.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index 90e614d6323..26b812e4701 100644 --- a/include/llvm/Pass.h +++ b/include/llvm/Pass.h @@ -311,7 +311,8 @@ private: /// other basic block in the function. /// 3. Optimizations conform to all of the constraints of FunctionPasses. /// -struct BasicBlockPass : public FunctionPass { +class BasicBlockPass : public FunctionPass { +public: /// doInitialization - Virtual method overridden by subclasses to do /// any necessary per-module initialization. /// -- 2.34.1