summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCXXABI.h
diff options
context:
space:
mode:
authorJames Dennett <jdennett@google.com>2012-06-22 10:16:05 +0000
committerJames Dennett <jdennett@google.com>2012-06-22 10:16:05 +0000
commit41725129a49b327e81d4483f0a85a0192a1541c1 (patch)
treeea7cb9220256a508859231b1b8d222e00b75d318 /clang/lib/CodeGen/CGCXXABI.h
parent18348b6218e4c7a9d2e644b140d14deb9671583e (diff)
downloadbcm5719-llvm-41725129a49b327e81d4483f0a85a0192a1541c1.tar.gz
bcm5719-llvm-41725129a49b327e81d4483f0a85a0192a1541c1.zip
Documentation cleanup: making \param docs match the code.
llvm-svn: 158982
Diffstat (limited to 'clang/lib/CodeGen/CGCXXABI.h')
-rw-r--r--clang/lib/CodeGen/CGCXXABI.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGCXXABI.h b/clang/lib/CodeGen/CGCXXABI.h
index 33f9743f174..18a2259b369 100644
--- a/clang/lib/CodeGen/CGCXXABI.h
+++ b/clang/lib/CodeGen/CGCXXABI.h
@@ -196,15 +196,14 @@ public:
/**************************** Array cookies ******************************/
/// Returns the extra size required in order to store the array
- /// cookie for the given type. May return 0 to indicate that no
+ /// cookie for the given new-expression. May return 0 to indicate that no
/// array cookie is required.
///
/// Several cases are filtered out before this method is called:
/// - non-array allocations never need a cookie
/// - calls to \::operator new(size_t, void*) never need a cookie
///
- /// \param ElementType - the allocated type of the expression,
- /// i.e. the pointee type of the expression result type
+ /// \param expr - the new-expression being allocated.
virtual CharUnits GetArrayCookieSize(const CXXNewExpr *expr);
/// Initialize the array cookie for the given allocation.
OpenPOWER on IntegriCloud