[libcxx-commits] [libcxx] c53caae - [libc++][NFC] Remove dead link in comment

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 17 10:40:03 PDT 2025


Author: Louis Dionne
Date: 2025-03-17T13:39:58-04:00
New Revision: c53caae1d0baaf21d63e5f7152171699bcab0750

URL: https://github.com/llvm/llvm-project/commit/c53caae1d0baaf21d63e5f7152171699bcab0750
DIFF: https://github.com/llvm/llvm-project/commit/c53caae1d0baaf21d63e5f7152171699bcab0750.diff

LOG: [libc++][NFC] Remove dead link in comment

Added: 
    

Modified: 
    libcxx/include/__memory/unique_ptr.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__memory/unique_ptr.h b/libcxx/include/__memory/unique_ptr.h
index e8ef386f7f9fc..6f1dc98db5a9f 100644
--- a/libcxx/include/__memory/unique_ptr.h
+++ b/libcxx/include/__memory/unique_ptr.h
@@ -300,7 +300,7 @@ class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
 // We provide some helper classes that allow bounds checking when accessing a unique_ptr<T[]>.
 // There are a few cases where bounds checking can be implemented:
 //
-// 1. When an array cookie (see [1]) exists at the beginning of the array allocation, we are
+// 1. When an array cookie exists at the beginning of the array allocation, we are
 //    able to reuse that cookie to extract the size of the array and perform bounds checking.
 //    An array cookie is a size inserted at the beginning of the allocation by the compiler.
 //    That size is inserted implicitly when doing `new T[n]` in some cases (as of writing this


        


More information about the libcxx-commits mailing list