[Lldb-commits] [PATCH] D25099: Refactor Args a different way

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Sun Oct 2 08:51:24 PDT 2016


labath added a comment.

random drive-by. Otherwise, I like it.



> Args.cpp:207
> +//----------------------------------------------------------------------
> +Args::~Args() { Clear(); }
> +

I think we don't need to call Clear() here, as all memory owned by the object will be correctly destroyed anyway.

https://reviews.llvm.org/D25099





More information about the lldb-commits mailing list