[llvm-commits] [llvm] r85203 - /llvm/trunk/include/llvm/Support/PointerLikeTypeTraits.h

Chris Lattner sabre at nondot.org
Mon Oct 26 21:58:12 PDT 2009


Author: lattner
Date: Mon Oct 26 23:58:10 2009
New Revision: 85203

URL: http://llvm.org/viewvc/llvm-project?rev=85203&view=rev
Log:
lang points out that the comment is out of date with the code.

Modified:
    llvm/trunk/include/llvm/Support/PointerLikeTypeTraits.h

Modified: llvm/trunk/include/llvm/Support/PointerLikeTypeTraits.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/PointerLikeTypeTraits.h?rev=85203&r1=85202&r2=85203&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/PointerLikeTypeTraits.h (original)
+++ llvm/trunk/include/llvm/Support/PointerLikeTypeTraits.h Mon Oct 26 23:58:10 2009
@@ -38,7 +38,7 @@
     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.
   ///





More information about the llvm-commits mailing list