OSDN Git Service

Use size_type in the interface exposed by SmallVector.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 4 Dec 2014 14:40:35 +0000 (14:40 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 4 Dec 2014 14:40:35 +0000 (14:40 +0000)
commita300b8d7e4f0c3829392280cb222f7f9ebc5104e
tree16c48426d5a4187747da1e8052aaad8b6b19d364
parent182d9aaccb4478d9ce90c955865466480f1e3337
Use size_type in the interface exposed by SmallVector.

This matches std::vector and should avoid unnecessary masking to 32 bits
when calling them on o 64 bits system.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223365 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/SmallVector.h