krytarowski added a comment.

In https://reviews.llvm.org/D29256#660072, @ki.stfu wrote:

> I don't know the point of this patch (probably it's something special for 
> NetBSD? @emaste) but I'm okay with that.


It's undefined (implementation defined) behavior.

C++11 5.2.2/7:

>   Passing a potentially-evaluated argument of class type having a non-trivial 
> copy constructor, a non-trivial move contructor, or a non-trivial destructor, 
> with no corresponding parameter, is conditionally-supported with 
> implementation-defined semantics.
>    

This patch was created to address compiler warning.


Repository:
  rL LLVM

https://reviews.llvm.org/D29256



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to