[PATCH] D146376: Update static_assert message for redundant cases

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 7 05:07:59 PDT 2023


aaron.ballman added a comment.

In D146376#4250814 <https://reviews.llvm.org/D146376#4250814>, @xbolva00 wrote:

> The patch description mixes "or" and "and" in examples, please fix it.
>
> SO probably you meant
>
>   <source>:4:1: error: static assertion failed due to requirement 'is_gitlab'
>   static_assert(is_gitlab or is_weekend);
>   ^             ~~~~~~~~~

Good catch, I'll fix that when landing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146376



More information about the cfe-commits mailing list