[clang] [CIR] Handle NullStmt (PR #134889)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 8 10:40:51 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list