aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Pass.h
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2006-01-04 17:21:23 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2006-01-04 17:21:23 +0000
commit62281a132f11e742a96ff9caeaaaa17900020acd (patch)
treee4419c2cda8f029fee5eebf09bc3150ab402de0f /include/llvm/Pass.h
parentb4c4f09d768abae8c45a018c2ce9c31d996a9482 (diff)
downloadexternal_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
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r--include/llvm/Pass.h3
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.
///