ArcsinX wrote:

To be honest, I struggle to envision a scenario where line filter would 
actually be used in a configuration file. `.clang-tidy` is typically something 
stored in the repository. Consequently, when modifying code, a developer would 
have to remember to update the `.clang-tidy` because the line numbers have 
shifted. It seems far more logical to use `NOLINT` comments.
Thus, adding such an option to the config solely to pass it through to clangd 
doesn't seem entirely worthwhile.
Perhaps I'm overlooking some use cases.

https://github.com/llvm/llvm-project/pull/202575
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to