[clang] [clang][dataflow] fix assert in `Environment::getResultObjectLocation` (PR #79608)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 29 03:55:51 PST 2024


https://github.com/martinboehme requested changes to this pull request.

Thanks for catching this!

Can you add a test that fails without the fix? See the existing test `ResultObjectLocation` in TransferTest.cpp -- you should be able to create a new test based on this that has a `CXXOperatorCallExpr` returning a record by value.

https://github.com/llvm/llvm-project/pull/79608


More information about the cfe-commits mailing list