[cfe-dev] [clang-tidy] Any interest in a new s/assert\(0 && /llvm_unreachable/ checker?

David Blaikie via cfe-dev cfe-dev at lists.llvm.org
Mon Jun 17 11:32:00 PDT 2019


Would be nice to clean them up & keep them cleaned up - but without a means
to consistently apply LLVM style checkers from clang-tidy, I'm not sure how
much value they'll be (this is my general attitude towards LLVM style
checking in clang-tidy - but perhaps there's enough people using them in
some way that they end up getting cleaned up relatively quickly/not getting
out of hand? I'd love it if there were a way to opt into LLVM style
clang-tidy checks in a CMake build with similar surfacing (including
-Werror support) to normal compiler warnings)

On Mon, Jun 17, 2019 at 11:07 AM Don Hinton via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Noticed there are several cases of "assert(0 &&" in many of our projects,
> so this would be a simple find and replace checker in the llvm_check
> namespace.
>
> If this appears valuable, I can gen one up pretty quickly.
>
> thanks...
> don
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190617/a1e9ff74/attachment.html>


More information about the cfe-dev mailing list