diff --git a/include/llvm-dialects/Dialect/OpSet.h b/include/llvm-dialects/Dialect/OpSet.h index 3bb0b3e..ed7f33d 100644 --- a/include/llvm-dialects/Dialect/OpSet.h +++ b/include/llvm-dialects/Dialect/OpSet.h @@ -92,10 +92,7 @@ class OpSet final { template static const OpSet &get() { static const auto set = ([]() { OpSet set; - (void)(... && ([&set]() { - set.tryInsertOp(OpDescription::get()); - return true; - })()); + (..., set.tryInsertOp(OpDescription::get())); return set; })(); return set;