]> granicus.if.org Git - clang/commitdiff
Update comment.
authorTed Kremenek <kremenek@apple.com>
Fri, 6 Feb 2009 21:15:34 +0000 (21:15 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 6 Feb 2009 21:15:34 +0000 (21:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63961 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ASTContext.h

index 183af3487ac064b52634b15f6eeb95f78f20e122..7198332b29a84afb9d4c9b01ceb2dc12a7b1558b 100644 (file)
@@ -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.