From 1877e66c76e3db5d25570d3449bb74fcfaa17fea Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Tue, 15 Apr 2014 23:58:06 +0000 Subject: [PATCH] Fix build after r206338 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206341 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Analysis/Analyses/ThreadSafetyUtil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clang/Analysis/Analyses/ThreadSafetyUtil.h b/include/clang/Analysis/Analyses/ThreadSafetyUtil.h index 996e81d1b5..5705d47515 100644 --- a/include/clang/Analysis/Analyses/ThreadSafetyUtil.h +++ b/include/clang/Analysis/Analyses/ThreadSafetyUtil.h @@ -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 { -- 2.40.0