zeyi2 wrote:

> But I wonder if this heuristic would need some user switch at some point.

> I also think that, ideally, we would allow the user to pass in a compiler or 
> clang-tidy flag to specify which macro they would like these suggestions to 
> use.

Thanks for reviewing, I'll add a command line option later.

My current thinking is that this probably should not be a clang-tidy option 
(since the warning comes from Sema, not from a Clang-tidy check), if a 
clang-tidy user wants these fix-its, they can pass it via `extra-arg` :)

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

Reply via email to