[PATCH] D130894: [clang] Print more information about failed static assertions

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 1 05:24:30 PDT 2022


tbaeder added inline comments.


================
Comment at: clang/lib/Sema/SemaDeclCXX.cpp:16656
                            && !isa<IntegerLiteral>(InnerCond)) {
+
         Diag(StaticAssertLoc, diag::err_static_assert_requirement_failed)
----------------
Oops, this needs to go.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130894



More information about the cfe-commits mailing list