baloghadamsoftware added a comment.

In D77229#2005419 <https://reviews.llvm.org/D77229#2005419>, 
@baloghadamsoftware wrote:

> Furthermore, there are also problems with `CXXNewExpr`:
>
>   llvm-project/clang/include/clang/AST/ExprCXX.h:2239: clang::Expr* 
> clang::CXXNewExpr::getPlacementArg(unsigned int): Assertion `(I < 
> getNumPlacementArgs()) && "Index out of range!"' failed.
>


This one seems to be resolved by subtracting `1` from `Index` since the first 
argument is not a placement argument but the size.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77229/new/

https://reviews.llvm.org/D77229



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

Reply via email to