Omit explicit length here, now that I've had a chance to test this with gcc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135867 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Frits van Bommel 2011-07-24 09:53:46 +00:00
parent d5601cc810
commit f627530999

View File

@ -190,7 +190,7 @@ namespace llvm {
/// Construct an ArrayRef from a C array.
template<typename T, size_t N>
ArrayRef<T> makeArrayRef(const T (&Arr)[N]) {
return ArrayRef<T>(Arr, N);
return ArrayRef<T>(Arr);
}
/// @}