[PATCH] D77229: [Analyzer][WIP] Avoid handling of LazyCompundVals in IteratorModeling

Balogh, Ádám via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 8 23:25:43 PDT 2020


baloghadamsoftware added a comment.

In D77229#1969524 <https://reviews.llvm.org/D77229#1969524>, @NoQ wrote:

> In D77229#1969455 <https://reviews.llvm.org/D77229#1969455>, @baloghadamsoftware wrote:
>
> > The problem is that the `CFGElement` for function `iterator begin() { return iterator(_start); }` is just a `CFGStmt` and not `CFGCXXRecordTypedCall`.
>
>
> In which code? It's not about the function, it's about the caller context.


Hmm, it seems that if I do not use the return value of the function explicitly, then no construction context is generated for it. Maybe this is how it should work so I have to modify the tests.


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

https://reviews.llvm.org/D77229





More information about the cfe-commits mailing list