[cfe-commits] r142803 - /cfe/trunk/lib/CodeGen/CodeGenFunction.cpp

Eric Christopher echristo at apple.com
Mon Oct 24 14:54:55 PDT 2011


On Oct 24, 2011, at 2:49 PM, Benjamin Kramer wrote:

> On 24.10.2011, at 19:29, David Blaikie <dblaikie at gmail.com> wrote:
> 
>>> Fix mismatched new[]/delete[].
>> 
>> Is there a scoped/owning pointer that handles delete[] in the LLVM
>> support libraries that could be used here?
> 
> There is llvm::OwningArrayPtr for that. Maybe this code should just use a SmallVector though ...

Probably. It's not like the arguments to a function are going to be very numerous. I can get to it if no one else does shortly.

-eric



More information about the cfe-commits mailing list