[PATCH] D77229: [Analyzer][WIP] Avoid handling of LazyCompundVals in IteratorModeling
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 27 09:06:44 PDT 2020
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
More information about the cfe-commits
mailing list