kadircet added a comment.

I agree with Sam on this one, especially on big files it just floods and hides 
non-stylistic diagnostics (you even hit max diagnostics exceeded errors).

I believe unless someone takes the extra mile to fix all the value types in 
LLVM to be const-correct, this is harmful then being useful. I can't speak for 
the projects out in the wild for the overall default (i have a personal 
preference for having everything const-correct, but it's mostly for stylistic 
reasons ...), but i think the default of diagnosing values for LLVM should 
definitely be off. Do you mind performing that change for `.clang-tidy` configs 
if others are not objecting on this either?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D54943

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

Reply via email to