[clang] [CIR] Handle NullStmt (PR #134889)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 8 10:52:49 PDT 2025
================
@@ -57,6 +57,7 @@ mlir::LogicalResult CIRGenFunction::emitStmt(const Stmt *s,
switch (s->getStmtClass()) {
case Stmt::BreakStmtClass:
+ case Stmt::NullStmtClass:
----------------
erichkeane wrote:
I'm about 99.9% sure that there is no code that can result in it, barring some error in the compiler. It is the 'class' of `Stmt`, which isn't `virtual`, but is effectively abstract (other than by language rule).
https://github.com/llvm/llvm-project/pull/134889
More information about the cfe-commits
mailing list