From: Jeff Cohen Date: Wed, 4 Jan 2006 17:21:23 +0000 (+0000) Subject: Be consistent in using class vs struct to make VC++ happy. And as it contains X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=62281a132f11e742a96ff9caeaaaa17900020acd;p=oota-llvm.git 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 --- 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. ///