OSDN Git Service

lang points out that the comment is out of date with the code.
authorChris Lattner <sabre@nondot.org>
Tue, 27 Oct 2009 04:58:10 +0000 (04:58 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 27 Oct 2009 04:58:10 +0000 (04:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85203 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/PointerLikeTypeTraits.h

index 8a8e95f..b851404 100644 (file)
@@ -38,7 +38,7 @@ public:
     return static_cast<T*>(P);
   }
   
-  /// Note, we assume here that malloc returns objects at least 8-byte aligned.
+  /// Note, we assume here that malloc returns objects at least 4-byte aligned.
   /// However, this may be wrong, or pointers may be from something other than
   /// malloc.  In this case, you should specialize this template to reduce this.
   ///