[compiler-rt] r199112 - [sanitizer] fix comment

Kostya Serebryany kcc at google.com
Mon Jan 13 07:06:20 PST 2014


Author: kcc
Date: Mon Jan 13 09:06:20 2014
New Revision: 199112

URL: http://llvm.org/viewvc/llvm-project?rev=199112&view=rev
Log:
[sanitizer] fix comment

Modified:
    compiler-rt/trunk/include/sanitizer/common_interface_defs.h

Modified: compiler-rt/trunk/include/sanitizer/common_interface_defs.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/include/sanitizer/common_interface_defs.h?rev=199112&r1=199111&r2=199112&view=diff
==============================================================================
--- compiler-rt/trunk/include/sanitizer/common_interface_defs.h (original)
+++ compiler-rt/trunk/include/sanitizer/common_interface_defs.h Mon Jan 13 09:06:20 2014
@@ -56,7 +56,7 @@ extern "C" {
   // in a contiguous region of memory. The container owns the region of memory
   // [beg, end); the memory [beg, mid) is used to store the current elements
   // and the memory [mid, end) is reserved for future elements;
-  // end <= mid <= end. For example, in "std::vector<> v"
+  // beg <= mid <= end. For example, in "std::vector<> v"
   //   beg = &v[0];
   //   end = beg + v.capacity() * sizeof(v[0]);
   //   mid = beg + v.size()     * sizeof(v[0]);





More information about the llvm-commits mailing list