[PATCH] D154290: [WIP][Clang] Implement P2741R3 - user-generated static_assert messages

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 1 22:08:22 PDT 2023


tbaeder added inline comments.


================
Comment at: clang/lib/AST/ExprConstant.cpp:16384
+                                       Expr *SizeExpression,
+                                       Expr *PtrExpression, ASTContext &Ctx,
+                                       EvalResult &Status) const {
----------------
Any reason the `Expr*` pointers here can't be `const`?


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