commit | 4f530a9d984c94de4fa6ccf330885f6d05b564a2 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Fri Feb 06 19:55:15 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Fri Feb 06 19:55:15 2009 +0000 |
tree | 97de005ec3d70e33d4173910446a126dd9a2211a | |
parent | afa046ed8451684406da117a9af0e47e5fade801 [diff] |
Move StringLiteral to allocate its internal string data using the allocator in ASTContext. This required changing all clients to pass in the ASTContext& to the constructor of StringLiteral. I also changed all allocations of StringLiteral to use new(ASTContext&). Along the way, I updated a bunch of new()'s in StmtSerialization.cpp to use the allocator from ASTContext& (not complete). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63958 91177308-0d34-0410-b5e6-96231b3b80d8