summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-27 04:58:10 +0000
committerChris Lattner <sabre@nondot.org>2009-10-27 04:58:10 +0000
commit2fda9a84d1aca6971792bb9f0e916921e0fba921 (patch)
tree198ea7d76838dee09e31301f52d57c3d088f011b /llvm
parent6d9350b73bc60b5b4588fde16c210b889fb66f65 (diff)
downloadbcm5719-llvm-2fda9a84d1aca6971792bb9f0e916921e0fba921.tar.gz
bcm5719-llvm-2fda9a84d1aca6971792bb9f0e916921e0fba921.zip
lang points out that the comment is out of date with the code.
llvm-svn: 85203
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/PointerLikeTypeTraits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/PointerLikeTypeTraits.h b/llvm/include/llvm/Support/PointerLikeTypeTraits.h
index 8a8e95f047e..b8514048006 100644
--- a/llvm/include/llvm/Support/PointerLikeTypeTraits.h
+++ b/llvm/include/llvm/Support/PointerLikeTypeTraits.h
@@ -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.
///
OpenPOWER on IntegriCloud