[clang] [CIR] Upstream LabelOp (PR #152802)

Morris Hafner via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 11 06:06:50 PDT 2025


================
@@ -1125,6 +1125,9 @@ class CIRGenFunction : public CIRGenTypeCache {
 
   mlir::Value emitOpOnBoolExpr(mlir::Location loc, const clang::Expr *cond);
 
+  mlir::LogicalResult emitLabel(const clang::LabelDecl *d);
+  mlir::LogicalResult emitLabelStmt(const clang::LabelStmt &s);
----------------
mmha wrote:

No action for you here, but we are pretty inconsistent with pass-by-pointer vs. pass-by-reference for `emit*` functions.

https://github.com/llvm/llvm-project/pull/152802


More information about the cfe-commits mailing list