diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-27 16:14:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-27 16:14:51 +0000 |
commit | 1fca5ff62bb2ecb5bfc8974f4dbfc56e9d3ca721 (patch) | |
tree | 84ba84e29d790774dd87ad9efc8acb702dafc842 /include/llvm/BasicBlock.h | |
parent | 3acd9181df5d8f76f75a384266e2a78b9a6c4f45 (diff) | |
download | external_llvm-1fca5ff62bb2ecb5bfc8974f4dbfc56e9d3ca721.tar.gz external_llvm-1fca5ff62bb2ecb5bfc8974f4dbfc56e9d3ca721.tar.bz2 external_llvm-1fca5ff62bb2ecb5bfc8974f4dbfc56e9d3ca721.zip |
Convert 'struct' to 'class' in various places to adhere to the coding standards
and work better with VC++. Patch contributed by Morten Ofstad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/BasicBlock.h')
-rw-r--r-- | include/llvm/BasicBlock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index 2a18ba837e..0ede5f3072 100644 --- a/include/llvm/BasicBlock.h +++ b/include/llvm/BasicBlock.h @@ -45,7 +45,8 @@ template<> struct ilist_traits<Instruction> static iplist<Instruction> &getList(BasicBlock *BB); }; -struct BasicBlock : public Value { // Basic blocks are data objects also +class BasicBlock : public Value { // Basic blocks are data objects also +public: typedef iplist<Instruction> InstListType; private : InstListType InstList; |