[PATCH] D131818: [clang][diagnostics] Don't warn about unreachable code in constexpr if

Alan Zhao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 15 09:54:14 PDT 2022


ayzhao added a comment.

In D131818#3723227 <https://reviews.llvm.org/D131818#3723227>, @thakis wrote:

> Thanks!
>
> Can you add a test for non-constexpr unreachable code within the constexpr if and test that that still warns?

Done


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131818



More information about the cfe-commits mailing list