[PATCH] D42850: [docs] Add guidance on duplicating doc comments to CodingStandards
Chris Lattner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 5 21:28:01 PST 2018
lattner added a comment.
Here's a different way to interpret the current situation: instead of seeing the current behavior as "inconsistent", you could see it as "duplication only making sense in some cases". Realistically though, I agree that the code base is probably inconsistent as it is written by lots of people with different practices.
If you're interested in making this situation better, it would probably be effective to teach clang-tidy to complain about duplicated comment blocks that are larger than a certain threshold but slightly different.
-Chris
Repository:
rL LLVM
https://reviews.llvm.org/D42850
More information about the llvm-commits
mailing list