HerrCai0907 wrote:

Maybe it is more straightforward to detect function which return ref of member 
variable like `const std::vector<int>& get() const { return v; }` and bypass 
the SideEffect check.

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

Reply via email to