shafik accepted this revision. shafik added a comment. This revision is now accepted and ready to land.
Besides the minor comment LGTM ================ Comment at: clang/test/AST/Interp/literals.cpp:290 + static_assert((0 | gimme(12)) == 12, ""); + static_assert((12 ^ true) == 13, ""); +#pragma clang diagnostic pop ---------------- Should also work w/ unscoped enums as well. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D136956/new/ https://reviews.llvm.org/D136956 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits