[cfe-commits] r94090 - in /cfe/trunk: include/clang/AST/Type.h lib/AST/ASTContext.cpp lib/AST/Type.cpp

Fariborz Jahanian fjahanian at apple.com
Thu Jan 21 11:25:09 PST 2010


Don't you need to update PCH?

- Fariborz

On Jan 21, 2010, at 11:22 AM, Ted Kremenek wrote:

> Author: kremenek
> Date: Thu Jan 21 13:22:34 2010
> New Revision: 94090
>
> URL: http://llvm.org/viewvc/llvm-project?rev=94090&view=rev
> Log:
> Allocate the 'Protocols' array in ObjCInterfaceType and
> ObjCObjectPointerType using the allocator associated with ASTContext.
> Not only does this fix a memory leak, but it also makes these arrays
> BumpPtrAllocated (in the typical case).
>
> Modified:
>    cfe/trunk/include/clang/AST/Type.h
>    cfe/trunk/lib/AST/ASTContext.cpp
>    cfe/trunk/lib/AST/Type.cpp
>
> Modified: cfe/trunk/include/clang/AST/Type.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=94090&r1=94089&r2=94090&view=diff
>



More information about the cfe-commits mailing list