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

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 4 15:09:02 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) {
----------------
bcardosolopes wrote:

this should be camelBack -> `containsLabel`, similar for anything else introduced in this PR

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


More information about the cfe-commits mailing list