[Mlir-commits] [mlir] [mlir][emitc] Don't emit extra semicolon after bracket (PR #122464)
Gil Rapaport
llvmlistbot at llvm.org
Mon Jan 13 06:43:52 PST 2025
================
@@ -120,6 +120,10 @@ struct CppEmitter {
LogicalResult emitAttribute(Location loc, Attribute attr);
/// Emits operation 'op' with/without training semicolon or returns failure.
+ ///
+ /// If the operation should not be followed by semicolon, like VerbatimOp,
+ /// the `trailingSemicolon` argument is ignore and semicolon is not
----------------
aniragil wrote:
```suggestion
/// For operations that should never be followed by a semicolon, like ForOp,
/// the `trailingSemicolon` argument is ignored and a semicolon is not
```
https://github.com/llvm/llvm-project/pull/122464
More information about the Mlir-commits
mailing list