Michael137 wrote:

> Did you try to modify `IgnoreUnlessSpelledInSource` to support CallExpr?

Yea I was thinking about it initially. But I wasn't sure what that would look 
like tbh. IIUC `IgnoreImplicitMemberCallSingleStep` will unwrap 
`CXXMemberCallExpr` into the underlying `MemberExpr`. And then further until we 
hit the implicit object argument? But what would we do with `CallExpr`s? Do we 
return the `CalleeDecl`? In our use-case, the `Decomposition` decl is the first 
argument of the `CallExpr`.

https://github.com/llvm/llvm-project/pull/122265
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to