aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-02-06 21:15:34 +0000
committerTed Kremenek <kremenek@apple.com>2009-02-06 21:15:34 +0000
commit4398a78095cd05a3be702fbab25bfe324a5d7946 (patch)
treed491821a6183bbdcdf76b7c52349088e0dcc04db
parent7a06aae468c94a21c267106ec16bd2c79dab2857 (diff)
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63961 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/ASTContext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h
index 183af3487a..7198332b29 100644
--- a/include/clang/AST/ASTContext.h
+++ b/include/clang/AST/ASTContext.h
@@ -611,7 +611,7 @@ private:
/// @endcode
/// Please note that you cannot use delete on the pointer; it must be
/// deallocated using an explicit destructor call followed by
-/// @c Context.getAllocator().Deallocate(Ptr)
+/// @c Context.Deallocate(Ptr).
///
/// @param Bytes The number of bytes to allocate. Calculated by the compiler.
/// @param C The ASTContext that provides the allocator.
@@ -645,7 +645,7 @@ inline void operator delete(void *Ptr, clang::ASTContext &C)
/// @endcode
/// Please note that you cannot use delete on the pointer; it must be
/// deallocated using an explicit destructor call followed by
-/// @c Context.getAllocator().Deallocate(Ptr)
+/// @c Context.Deallocate(Ptr).
///
/// @param Bytes The number of bytes to allocate. Calculated by the compiler.
/// @param C The ASTContext that provides the allocator.