r206341 - Fix build after r206338

Duncan P. N. Exon Smith dexonsmith at apple.com
Tue Apr 15 16:58:06 PDT 2014


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 {





More information about the cfe-commits mailing list