commit | 2b9bc422a5e6840f5b925316bc06d5943deb610a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Feb 14 07:35:09 2011 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Feb 14 07:35:09 2011 +0000 |
tree | 5a4ba8c2f2fe4f2f9ee914626ed2c48021ef5e82 | |
parent | 593051b4e2c5fb88fa4acbe3bec92581bef554c0 [diff] |
add a new ArrayRef class. This is intended to replace the idiom we use in many places where we pass a pointer and size to abstract APIs that can take C arrays, std::vector, SmallVector, etc. It is to arrays what StringRef is to strings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125486 91177308-0d34-0410-b5e6-96231b3b80d8