r206341 - Fix build after r206338

Delesley Hutchins delesley at google.com
Wed Apr 16 07:49:18 PDT 2014


Thanks!  My apologies for the goof.

  -DeLesley


On Tue, Apr 15, 2014 at 4:58 PM, Duncan P. N. Exon Smith
<dexonsmith at apple.com> wrote:
> Author: dexonsmith
> Date: Tue Apr 15 18:58:06 2014
> New Revision: 206341
>
> URL: http://llvm.org/viewvc/llvm-project?rev=206341&view=rev
> Log:
> Fix build after r206338
>
> Modified:
>     cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyUtil.h
>
> Modified: cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyUtil.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyUtil.h?rev=206341&r1=206340&r2=206341&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyUtil.h (original)
> +++ cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyUtil.h Tue Apr 15 18:58:06 2014
> @@ -102,7 +102,7 @@ public:
>    size_t capacity() const { return Capacity; }
>
>    T &operator[](unsigned i) {
> -    assert(i < Sz && "Array index out of bounds.");
> +    assert(i < Size && "Array index out of bounds.");
>      return Data[i];
>    }
>    const T &operator[](unsigned i) const {
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



-- 
DeLesley Hutchins | Software Engineer | delesley at google.com | 505-206-0315



More information about the cfe-commits mailing list