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

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 15 08:00:34 PDT 2022


thakis added a comment.

Thanks!

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


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