[llvm-commits] CVS: llvm/include/llvm/Pass.h
Jeff Cohen
jeffc at jolt-lang.org
Wed Jan 4 09:21:35 PST 2006
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.
///
More information about the llvm-commits
mailing list