[clang] [CIR] Handle NullStmt (PR #134889)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 8 10:54:25 PDT 2025
================
@@ -57,6 +57,7 @@ mlir::LogicalResult CIRGenFunction::emitStmt(const Stmt *s,
switch (s->getStmtClass()) {
case Stmt::BreakStmtClass:
+ case Stmt::NullStmtClass:
----------------
erichkeane wrote:
Ah, i missed that it wasn't just the same unreachable. No real reason to do it now, but as it was a 'move this line 10 lines' sorta thing, i thought it was a decent 'while we are here'.
https://github.com/llvm/llvm-project/pull/134889
More information about the cfe-commits
mailing list