DavidTruby wrote:

Would it be a lot of work to add this flag for `clang` as well? It seems like 
the behaviour would be equally useful there and I would prefer us to keep flags 
available for both compilers where it makes sense.
 In terms of implementation it looks like there's already a clang-tidy pass for 
it so you could check what they are doing for inspiration?
If it's a lot of work we can add a TODO somewhere (I guess in a comment in the 
tablegen file) to remind us that we could conceptually enable this flag for 
clang too so as not to hold up this patch.

https://github.com/llvm/llvm-project/pull/120287
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to