[PATCH] D154290: [Clang] Implement P2741R3 - user-generated static_assert messages
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 13 05:50:12 PDT 2023
tbaeder added inline comments.
================
Comment at: clang/lib/Sema/SemaDeclCXX.cpp:17059
+ // the message is grammatically valid without evaluating it.
+ if (!Failed && AssertMessage && !!Cond) {
+ std::string Str;
----------------
Should work, shouldn't it?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154290/new/
https://reviews.llvm.org/D154290
More information about the cfe-commits
mailing list