mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Added a size_type typedef to LLVM containers to make Visual Studio shut up
(and possibly to make LLVM more x86 64bit friendly). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18891 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -246,7 +246,8 @@ public:
|
||||
|
||||
/// getNumContainedTypes - Return the number of types in the derived type.
|
||||
///
|
||||
unsigned getNumContainedTypes() const { return ContainedTys.size(); }
|
||||
typedef std::vector<PATypeHandle>::size_type size_type;
|
||||
size_type getNumContainedTypes() const { return ContainedTys.size(); }
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// Static members exported by the Type class itself. Useful for getting
|
||||
|
Reference in New Issue
Block a user