From: Frits van Bommel Date: Sun, 24 Jul 2011 09:53:46 +0000 (+0000) Subject: Omit explicit length here, now that I've had a chance to test this with gcc. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f6275309994dea2ec852c1f539875ae643646ec5;p=oota-llvm.git 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 --- diff --git a/include/llvm/ADT/ArrayRef.h b/include/llvm/ADT/ArrayRef.h index a073f06af4d..33a8c651b23 100644 --- a/include/llvm/ADT/ArrayRef.h +++ b/include/llvm/ADT/ArrayRef.h @@ -190,7 +190,7 @@ namespace llvm { /// Construct an ArrayRef from a C array. template ArrayRef makeArrayRef(const T (&Arr)[N]) { - return ArrayRef(Arr, N); + return ArrayRef(Arr); } /// @}