================
@@ -57,6 +57,7 @@ mlir::LogicalResult CIRGenFunction::emitStmt(const Stmt *s,
 
   switch (s->getStmtClass()) {
   case Stmt::BreakStmtClass:
+  case Stmt::NullStmtClass:
----------------
erichkeane wrote:

Classic codegen ALSO puts `NoStmtClass` here, might be worth doing 'while we 
are here'. In general, only invalid statements should get it, but is there for 
'completeness' I presume?  (since there is no default).

https://github.com/llvm/llvm-project/pull/134889
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to