================
@@ -1780,6 +1780,11 @@ LValue CIRGenFunction::emitLoadOfReferenceLValue(Address
refAddr,
pointeeBaseInfo);
}
+void CIRGenFunction::emitUnreachable(clang::SourceLocation loc) {
+ assert(!cir::MissingFeatures::sanitizers());
+ builder.create<cir::UnreachableOp>(getLoc(loc));
----------------
xlauko wrote:
```suggestion
cir::UnreachableOp::create(builder, getLoc(loc));
```
https://github.com/llvm/llvm-project/pull/151363
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits