JonasToth added a comment.

Another thought from me:

Maybe it would be sensible to create a check like `complexity-limits` where 
different forms of complicated constructs are examined. This could include 
extreme inheritance, excessive amount of members in classes (violation of 
single responsibility), very long conditions and these kind of things.
Function size would be another part of complexity and the traversing of all 
statements in the code would be done once. This would be good for performance 
as well, one problem would be the complexity of the check though ;D

Maybe we could even move this to the mail list, there would be good input as 
well.


https://reviews.llvm.org/D31252



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

Reply via email to