================
@@ -85,6 +85,37 @@ mlir::LogicalResult
CIRGenFunction::emitCompoundStmtWithoutScope(
return result;
}
+mlir::LogicalResult
+CIRGenFunction::emitAttributedStmt(const AttributedStmt &s) {
+ for (const auto *attr : s.getAttrs()) {
----------------
Lancern wrote:
```suggestion
for (const Attr *attr : s.getAttrs()) {
```
https://github.com/llvm/llvm-project/pull/182960
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits