zengdage wrote:

@nikic @ChuanqiXu9 I am sorry to bother you again. Do you think the attribute 
'nofree' should be added to 'this' pointer argument  in c++ instance method ?  
I think the 'this' pointer pointed to current object and it's life time is 
guaranteed to be longer than the instance method's lifetime.  If can, we can 
add `hasNoFreeAttr` check for 'Argument' case in `Value::canBeFreed`.

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

Reply via email to