[clang] [clang][dataflow] Retrieve members from accessors called using member… (PR #73978)
Samira Bazuzi via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 1 07:47:38 PST 2023
================
@@ -300,9 +300,10 @@ static void insertIfFunction(const Decl &D,
}
static MemberExpr *getMemberForAccessor(const CXXMemberCallExpr &C) {
- if (!C.getMethodDecl())
+ const auto *MethodDecl = dyn_cast_or_null<CXXMethodDecl>(C.getCalleeDecl());
----------------
bazuzi wrote:
Done
https://github.com/llvm/llvm-project/pull/73978
More information about the cfe-commits
mailing list