[clang] [CIR] Add if statement support (PR #134333)

via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 6 11:17:26 PDT 2025


================
@@ -135,6 +135,55 @@ mlir::Location CIRGenFunction::getLoc(mlir::Location lhs, mlir::Location rhs) {
   return mlir::FusedLoc::get(locs, metadata, &getMLIRContext());
 }
 
+bool CIRGenFunction::ContainsLabel(const Stmt *s, bool ignoreCaseStmts) {
----------------
Andres-Salamanca wrote:

Changes applied Let me know if it looks good now

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


More information about the cfe-commits mailing list