efriedma added a comment.

Could you go into a little more detail what problem you're trying to resolve?

isTriviallyRecursive is specifically a narrow hack to handle weird cases where 
a function is trying to hide the fact that it's calling itself, in ways that 
would convince gcc that the called function is different.  If a function is 
actually explicitly calling itself, it's on the user to make sure they don't 
write an infinite loop, I think.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78148/new/

https://reviews.llvm.org/D78148



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to