ilya-biryukov added a comment.

This warning might be a little verbose and pedantic for Clang, but I still 
wanted to share the code.
I would be more comfortable doing this a `clang-tidy` check, but I don't think 
there is an easy way to write it outside `Sema` and `Sema` is not readily 
available for `clang-tidy`.

I will try to find ways to patch this in locally for my use-case, but also 
happy to submit this if others think it is useful.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133029

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

Reply via email to