[clang-tools-extra] [clang-tidy][doc][NFC] extract common global options in doc (PR #119842)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 13 07:28:23 PST 2024


================
@@ -26,7 +26,8 @@ Options
 
 .. option:: IgnoreMacros
 
----------------
carlosgalvezp wrote:

Personally I don't see much benefit in this change, it makes the documentation harder to read as one has to go back and forth. I don't see the trouble with this duplication, since it's not really a problem if the sentences don't match exactly with each other - it does not add maintenance cost.

Sometimes DRY can cause more trouble that it's worth - a bit of duplication makes sense in benefit of usability and readability.

https://github.com/llvm/llvm-project/pull/119842


More information about the cfe-commits mailing list