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 | 853116145df8f8f59531d44706c259384a8d7c54 (patch) | |
| tree | 687d315860c8c8724e655601ce51cff81fe787e0 /llvm | |
| parent | 37c56fc58f3f1d8343dc5ddafff520784940f1ea (diff) | |
| download | bcm5719-llvm-853116145df8f8f59531d44706c259384a8d7c54.tar.gz bcm5719-llvm-853116145df8f8f59531d44706c259384a8d7c54.zip | |
Be consistent in using class vs struct to make VC++ happy. And as it contains
methods, virtual method even, class wins.
llvm-svn: 25098
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Pass.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Pass.h b/llvm/include/llvm/Pass.h index 90e614d6323..26b812e4701 100644 --- a/llvm/include/llvm/Pass.h +++ b/llvm/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. /// |

