Nope. All clients (include the PCHReader) use methods in ASTContext to create these types.
On Jan 21, 2010, at 11:25 AM, Fariborz Jahanian wrote: > 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 >> _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
