[PATCH] D135012: [clang][Interp] Implement bitwise and operations
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 4 07:47:21 PDT 2022
shafik accepted this revision.
shafik added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: clang/test/AST/Interp/literals.cpp:289
+ static_assert((1337 & -1) == 1337, "");
+ static_assert((0 & gimme(12)) == 0, "");
+};
----------------
Why `gimme(12)` and not just `12`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135012/new/
https://reviews.llvm.org/D135012
More information about the cfe-commits
mailing list