diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2006-01-04 17:21:23 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2006-01-04 17:21:23 +0000 |
commit | 62281a132f11e742a96ff9caeaaaa17900020acd (patch) | |
tree | e4419c2cda8f029fee5eebf09bc3150ab402de0f | |
parent | b4c4f09d768abae8c45a018c2ce9c31d996a9482 (diff) | |
download | external_llvm-62281a132f11e742a96ff9caeaaaa17900020acd.zip external_llvm-62281a132f11e742a96ff9caeaaaa17900020acd.tar.gz external_llvm-62281a132f11e742a96ff9caeaaaa17900020acd.tar.bz2 |
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
-rw-r--r-- | include/llvm/Pass.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index 90e614d..26b812e 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. /// |