[clang] [Lifetime Safety] Highlight lifetimebound calls in alias chain diagnostics (PR #206337)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 10 02:10:22 PDT 2026


================
@@ -105,6 +108,90 @@ bool implicitObjectParamIsLifetimeBound(const FunctionDecl *FD) {
   return isNormalAssignmentOperator(FD);
 }
 
+FunctionCallInfo getFunctionCallInfo(const Expr *Call) {
----------------
Xazax-hun wrote:

I think `AnyCall` and `FunctionCallInfo` are doing almost the same. I guess they are not completely the same as some index manipulation is going on below. 

I think in the future it would be nice to merge them and maybe add another view for `args` that includes the implicit object argument as well for `CXXMemeberCallExpr`s?

That being said, I think it is OK to be left as a follow-up. 

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


More information about the cfe-commits mailing list