Changes in directory llvm/include/llvm:
Pass.h updated: 1.52 -> 1.53 --- Log message: Be consistent in using class vs struct to make VC++ happy. And as it contains methods, virtual method even, class wins. --- Diffs of the changes: (+2 -1) Pass.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/include/llvm/Pass.h diff -u llvm/include/llvm/Pass.h:1.52 llvm/include/llvm/Pass.h:1.53 --- llvm/include/llvm/Pass.h:1.52 Wed Jan 4 01:47:12 2006 +++ llvm/include/llvm/Pass.h Wed Jan 4 11:21:23 2006 @@ -311,7 +311,8 @@ /// 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. /// _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits