[all-commits] [llvm/llvm-project] 4866a6: [clang][dataflow] Produce pointer values for calle...
martinboehme via All-commits
all-commits at lists.llvm.org
Thu Aug 24 00:12:32 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4866a6e1d3327a0499ef0e017a973a78d4e377bc
https://github.com/llvm/llvm-project/commit/4866a6e1d3327a0499ef0e017a973a78d4e377bc
Author: Martin Braenne <mboehme at google.com>
Date: 2023-08-24 (Thu, 24 Aug 2023)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Produce pointer values for callees of member operator calls.
Calls to member operators are a special case in that their callees have pointer
type. The callees of non-operator non-static member functions are not pointers.
See the comments in the code for details.
This issue came up in the Crubit nullability check; the fact that we weren't
modeling the `PointerValue` caused non-convergence.
Reviewed By: ymandel, xazax.hun
Differential Revision: https://reviews.llvm.org/D158592
More information about the All-commits
mailing list